mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
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:
parent
c2e9ec17fd
commit
73cc4105aa
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue