Fix woman.el menu alteration code

* lisp/woman.el (woman-dired-define-keys): Fix naming of menu
after dired menu changes.
This commit is contained in:
Lars Ingebrigtsen 2021-03-01 20:48:20 +01:00
parent 4d35faa1db
commit ece8c1307a

View 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)