emacs: Autoload notmuch-jump using an autoload cookie

Doing that is better than using an `autoload' form because the latter
may result in dependencies getting hidden and indeed it turns out we
have to declare `notmuch-jump' in "notmuch-tag.el".
This commit is contained in:
Jonas Bernoulli 2020-08-08 13:49:52 +02:00 committed by David Bremner
parent c2e9ec17fd
commit 73cc4105aa
2 changed files with 2 additions and 2 deletions

View file

@ -73,6 +73,7 @@ please customize shortcut keys in notmuch-saved-searches."))))
(defvar notmuch-jump--action nil)
;;;###autoload
(defun notmuch-jump (action-map prompt)
"Interactively prompt for one of the keys in ACTION-MAP.

View file

@ -36,8 +36,7 @@
(tag-changes &optional beg end only-matched))
(declare-function notmuch-show-tag "notmuch-show" (tag-changes))
(declare-function notmuch-tree-tag "notmuch-tree" (tag-changes))
(autoload 'notmuch-jump "notmuch-jump")
(declare-function notmuch-jump "notmuch-jump" (action-map prompt))
(define-widget 'notmuch-tag-key-type 'list
"A single key tagging binding."