[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42870: [PATCH] Change eshell-output-filter to match the behavior of
From: |
Lars Ingebrigtsen |
Subject: |
bug#42870: [PATCH] Change eshell-output-filter to match the behavior of comint-output-filter |
Date: |
Sun, 16 Aug 2020 14:32:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Steven Allen <steven@stebalien.com> writes:
> 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.
>
> * lisp/eshell/esh-mode.el: (eshell-output-filter): Match
> current-buffer behavior of comint-output-filter.
There we a lot of unavoidable whitespace changes in the patch, so but if
I read it correctly, this sounds like the correct fix, so I've applied
your patch to Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no