]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix woman.el menu alteration code
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Mar 2021 19:48:20 +0000 (20:48 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Mar 2021 19:48:20 +0000 (20:48 +0100)
* lisp/woman.el (woman-dired-define-keys): Fix naming of menu
after dired menu changes.

lisp/woman.el

index d4f7e8c0db7ed8157a9b57bf1c9b88bf1e1bab23..0a9f3665eb65a1f825e3a43debc24427118aa32e 100644 (file)
@@ -1523,7 +1523,7 @@ Also make each path-info component into a list.
          (mapc 'woman-dired-define-key woman-dired-keys)
        (woman-dired-define-key-maybe "w")
        (woman-dired-define-key-maybe "W")))
-  (define-key-after (lookup-key dired-mode-map [menu-bar immediate])
+  (define-key-after (lookup-key dired-mode-map [menu-bar Immediate])
     [woman] '("Read Man Page (WoMan)" . woman-dired-find-file) 'view))
 
 (if (featurep 'dired)