diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2020-09-06 17:56:26 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2020-09-06 20:51:55 +0200 |
commit | 52a92c6e7bab2861be47a4637a924b2a74b24b66 (patch) | |
tree | dad08492d3c49a6ca7b0219375004c65821a4a30 | |
parent | 875c8d5082fd2a8bd1a70fe94694c7324991b506 (diff) | |
download | emacs-52a92c6e7bab2861be47a4637a924b2a74b24b66.tar.gz |
Add autoload cookie to eshell-bookmark-jump
* lisp/eshell/esh-mode.el (eshell-bookmark-jump): Add autoload
cookie, so we can jump to bookmarks before having used eshell.
Problem noted by Stefan Monnier.
-rw-r--r-- | lisp/eshell/esh-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index ecdfd285f90..e0e86348bd8 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el @@ -1018,6 +1018,7 @@ This function could be in the list `eshell-output-filter-functions'." (location . ,default-directory) (handler . eshell-bookmark-jump))) +;;;###autoload (defun eshell-bookmark-jump (bookmark) "Default bookmark handler for Eshell buffers." (let ((default-directory (bookmark-prop-get bookmark 'location))) |