This lets us pick up later changes to widget-keymap if the user
customizes it in some way. This is the recommended way to use
`widget-keymap', according to its help.
(defvar notmuch-hello-mode-map
- (let ((map (copy-keymap widget-keymap)))
+ (let ((map (make-sparse-keymap)))
+ (set-keymap-parent map widget-keymap)
(define-key map "v" '(lambda () "Display the notmuch version" (interactive)
(message "notmuch version %s" (notmuch-version))))
(define-key map "?" 'notmuch-help)