diff options
author | Steven Allen <steven@stebalien.com> | 2020-08-16 14:31:27 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-16 14:31:27 +0200 |
commit | ba9a2b6c27b3f17e4d320ff9cbee17c79c07d5db (patch) | |
tree | eddc917969987d5109022088627e8ae9f64f5ef1 /lib/getrandom.c | |
parent | 9f464ccaf9acc36b22bc292c6c572048e147d281 (diff) | |
download | emacs-ba9a2b6c27b3f17e4d320ff9cbee17c79c07d5db.tar.gz emacs-ba9a2b6c27b3f17e4d320ff9cbee17c79c07d5db.tar.bz2 emacs-ba9a2b6c27b3f17e4d320ff9cbee17c79c07d5db.zip |
Set the current buffer in esh-mode before running filter functions
* lisp/eshell/esh-mode.el: (eshell-output-filter): Match
current-buffer behavior of comint-output-filter (bug#42870).
This change (a) sets the current buffer to the process-buffer when
invoking preoutput filter functions and (b) only invokes them when the
process-buffer is live. Otherwise, the preoutput filter functions be
invoked in whatever buffer happens to be focused, breaking hooks that
read buffer-local variables.
Diffstat (limited to 'lib/getrandom.c')
0 files changed, 0 insertions, 0 deletions