]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-hello.el
emacs: notmuch-hello: Make widget-keymap a parent of notmuch-hello-keymap
[notmuch] / emacs / notmuch-hello.el
index f95a86877595812453f6f3f960228132f2805e31..aa270727b077f902993e23327e50e6c18ee40288 100644 (file)
@@ -249,6 +249,7 @@ should be. Returns a cons cell `(tags-per-line width)'."
   (notmuch-hello-update t))
 
 (defun notmuch-hello-update (&optional no-display)
+  "Update the current notmuch view."
   ;; Lazy - rebuild everything.
   (interactive)
   (notmuch-hello no-display))
@@ -261,7 +262,8 @@ should be. Returns a cons cell `(tags-per-line width)'."
 
 
 (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)