From: Stefan Kangas Date: Sun, 6 Sep 2020 15:56:26 +0000 (+0200) Subject: Add autoload cookie to eshell-bookmark-jump X-Git-Tag: emacs-28.0.90~6214 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=52a92c6e7bab2861be47a4637a924b2a74b24b66;p=emacs.git 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. --- 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)))