diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-06-25 21:39:35 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-06-25 21:42:28 -0700 |
commit | 1809f6a93efe0ab3ac0f62743c92bd90860ff3ea (patch) | |
tree | a7aca1f01a07a547e26851b3382a829a13209e8b /lisp/emacs-lisp/generate-lisp-file.el | |
parent | 8b1841021c0d1ca92cb79443909824519429f75f (diff) | |
download | emacs-1809f6a93efe0ab3ac0f62743c92bd90860ff3ea.tar.gz emacs-1809f6a93efe0ab3ac0f62743c92bd90860ff3ea.tar.bz2 emacs-1809f6a93efe0ab3ac0f62743c92bd90860ff3ea.zip |
Always perform Eshell process cleanup runs in the Eshell buffer
Previously, some code executed in a timer, which could execute in the
wrong buffer, leading to a hang.
* lisp/eshell/esh-proc.el (eshell-sentinel): Use 'with-current-buffer'
in the timer function.
* test/lisp/eshell/esh-proc-tests.el (eshell-test-value): New variable.
(esh-proc-test/sentinel/change-buffer): New test.
(cherry picked from commit da4bc5c9274a6705501e24fb8f2984f5bf5fe099)
Diffstat (limited to 'lisp/emacs-lisp/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions