From 52a92c6e7bab2861be47a4637a924b2a74b24b66 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 6 Sep 2020 17:56:26 +0200 Subject: [PATCH] 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. --- lisp/eshell/esh-mode.el | 1 + 1 file changed, 1 insertion(+) 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))) -- 2.39.2