diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-06-13 21:04:52 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-06-13 21:04:52 +0000 |
commit | c46861f48818f40806400cf5726e2c17fe0e1a74 (patch) | |
tree | d62f5af369f43fce139b13d42d4a7a57bed96468 | |
parent | 46049510ed6bc3c3f8fee6f928ac159e1fd88ab3 (diff) | |
download | emacs-c46861f48818f40806400cf5726e2c17fe0e1a74.tar.gz |
(easy-menu-create-keymaps): Add menu-alias property.
-rw-r--r-- | lisp/emacs-lisp/easymenu.el | 3 |
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. |