diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-10-21 14:21:50 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-10-21 14:21:50 -0700 |
commit | 605f26cf70ab3d7c5ea635c19cd2a280812a4ddc (patch) | |
tree | 5970d844fe2e18c0f715e34db9ef5b9e26d2dd1b /lisp/emacs-lisp/multisession.el | |
parent | 1f8fbae8df764e9d24f1b824de7369d82e36abae (diff) | |
download | emacs-605f26cf70ab3d7c5ea635c19cd2a280812a4ddc.tar.gz emacs-605f26cf70ab3d7c5ea635c19cd2a280812a4ddc.tar.bz2 emacs-605f26cf70ab3d7c5ea635c19cd2a280812a4ddc.zip |
Fix a race condition when running Eshell startup scripts
Previously, these scripts could run before all the Eshell modules had
fully-initialized.
* lisp/eshell/esh-mode.el (eshell-after-initialize-hook): New hook...
(eshell-mode): ... run it.
* lisp/eshell/em-script.el (eshell-run-startup-scripts): New function...
(eshell-script-initialize): ... add it to
'eshell-after-initialize-hook'.
* etc/NEWS: Announce 'eshell-after-initialize-hook'.
Diffstat (limited to 'lisp/emacs-lisp/multisession.el')
0 files changed, 0 insertions, 0 deletions