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.
This commit is contained in:
Stefan Kangas 2020-09-06 17:56:26 +02:00
parent 875c8d5082
commit 52a92c6e7b

View file

@ -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)))