aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Rost2002-10-03 18:20:27 +0000
committerMarkus Rost2002-10-03 18:20:27 +0000
commit748ef79d225369c4cfe84bc0361d1cee16443084 (patch)
tree22f0eaba0d1fed6eb01b057b3e7a486eadacc07a
parent0331883833db885c1de2708379bb7b351d213680 (diff)
downloademacs-748ef79d225369c4cfe84bc0361d1cee16443084.tar.gz
emacs-748ef79d225369c4cfe84bc0361d1cee16443084.zip
(ada-stmt-add-to-ada-menu): Handle the menu pseudo-keys generated by
easymenu which are lowercase in Emacs 21.4.
-rw-r--r--lisp/progmodes/ada-stmt.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/ada-stmt.el b/lisp/progmodes/ada-stmt.el
index 277d5d285b3..cb9e1dcf934 100644
--- a/lisp/progmodes/ada-stmt.el
+++ b/lisp/progmodes/ada-stmt.el
@@ -114,7 +114,10 @@
114 :included '(string= mode-name "Ada")) 114 :included '(string= mode-name "Ada"))
115 menu)) 115 menu))
116 116
117 (define-key-after (lookup-key ada-mode-map [menu-bar Ada]) [Templates] 117 (define-key-after (or
118 (lookup-key ada-mode-map [menu-bar Ada])
119 (lookup-key ada-mode-map [menu-bar ada]))
120 [Templates]
118 (list 'menu-item 121 (list 'menu-item
119 "Templates" 122 "Templates"
120 (easy-menu-create-menu "Templates" menu) 123 (easy-menu-create-menu "Templates" menu)