mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
(ada-stmt-add-to-ada-menu): Handle the menu pseudo-keys generated by
easymenu which are lowercase in Emacs 21.4.
This commit is contained in:
parent
0331883833
commit
748ef79d22
@ -114,7 +114,10 @@
|
||||
:included '(string= mode-name "Ada"))
|
||||
menu))
|
||||
|
||||
(define-key-after (lookup-key ada-mode-map [menu-bar Ada]) [Templates]
|
||||
(define-key-after (or
|
||||
(lookup-key ada-mode-map [menu-bar Ada])
|
||||
(lookup-key ada-mode-map [menu-bar ada]))
|
||||
[Templates]
|
||||
(list 'menu-item
|
||||
"Templates"
|
||||
(easy-menu-create-menu "Templates" menu)
|
||||
|
Loading…
Reference in New Issue
Block a user