summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-13 21:04:52 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-13 21:04:52 +0000
commit41311853f22bbd0cefba44cbb835c18973d2502d (patch)
treef5e50491533fa993d317f61539a5304ad70effdc /lisp/emacs-lisp
parent67385caa0ef5771b59bce4aaeff8036346c5f89b (diff)
downloademacs-41311853f22bbd0cefba44cbb835c18973d2502d.tar.gz
emacs-41311853f22bbd0cefba44cbb835c18973d2502d.tar.bz2
emacs-41311853f22bbd0cefba44cbb835c18973d2502d.zip
(easy-menu-create-keymaps): Add menu-alias property.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/easymenu.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el
index 192938fca3f..df3cc03cae8 100644
--- a/lisp/emacs-lisp/easymenu.el
+++ b/lisp/emacs-lisp/easymenu.el
@@ -174,7 +174,8 @@ is a list of menu items, as above."
(setq name (concat name " ...")))
(if (symbolp callback)
(fset command callback)
- (fset command (list 'lambda () '(interactive) callback)))))
+ (fset command (list 'lambda () '(interactive) callback)))
+ (put command 'menu-alias t)))
(if (null command)
;; Handle inactive strings specially--allow any number
;; of identical ones.