summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2020-09-06 17:56:26 +0200
committerStefan Kangas <stefankangas@gmail.com>2020-09-06 20:51:55 +0200
commit52a92c6e7bab2861be47a4637a924b2a74b24b66 (patch)
treedad08492d3c49a6ca7b0219375004c65821a4a30
parent875c8d5082fd2a8bd1a70fe94694c7324991b506 (diff)
downloademacs-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.el1
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)))