Mercurial > emacs
changeset 15429:34acde979294
(easy-menu-create-keymaps): Add menu-alias property.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 13 Jun 1996 21:04:52 +0000 |
parents | 55a2ea0e640c |
children | 760c7139c19c |
files | lisp/emacs-lisp/easymenu.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/easymenu.el Thu Jun 13 21:04:29 1996 +0000 +++ b/lisp/emacs-lisp/easymenu.el Thu Jun 13 21:04:52 1996 +0000 @@ -174,7 +174,8 @@ (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.