summaryrefslogtreecommitdiff
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
commitc46861f48818f40806400cf5726e2c17fe0e1a74 (patch)
treed62f5af369f43fce139b13d42d4a7a57bed96468
parent46049510ed6bc3c3f8fee6f928ac159e1fd88ab3 (diff)
downloademacs-c46861f48818f40806400cf5726e2c17fe0e1a74.tar.gz
(easy-menu-create-keymaps): Add menu-alias property.
-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.