]> git.eshelyaron.com Git - emacs.git/commitdiff
Add autoload cookie to eshell-bookmark-jump
authorStefan Kangas <stefankangas@gmail.com>
Sun, 6 Sep 2020 15:56:26 +0000 (17:56 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 6 Sep 2020 18:51:55 +0000 (20:51 +0200)
* 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.

lisp/eshell/esh-mode.el

index ecdfd285f9008e6821b594b91d791ae3d7d17249..e0e86348bd8af723225f5710252bb0e9377e1262 100644 (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)))