(if action-map
(notmuch-jump action-map "Search: ")
- (error "To use notmuch-jump, please customize shortcut keys in notmuch-saved-searches."))))
+ (error "To use notmuch-jump, \
+please customize shortcut keys in notmuch-saved-searches."))))
(defvar notmuch-jump--action nil)
where KEY is a key binding, LABEL is a string label to display in
the buffer, and ACTION is a nullary function to call. LABEL may
be null, in which case the action will still be bound, but will
-not appear in the pop-up buffer.
-"
+not appear in the pop-up buffer."
(let* ((items (notmuch-jump--format-actions action-map))
;; Format the table of bindings and the full prompt
(define-key map keystr
`(lambda () (interactive)
(setq notmuch-jump--action
- ',(apply-partially #'notmuch-jump action-submap new-prompt))
+ ',(apply-partially #'notmuch-jump
+ action-submap
+ new-prompt))
(exit-minibuffer)))))))
map))