diff options
| author | Richard M. Stallman | 1996-06-13 21:04:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-06-13 21:04:52 +0000 |
| commit | 41311853f22bbd0cefba44cbb835c18973d2502d (patch) | |
| tree | f5e50491533fa993d317f61539a5304ad70effdc | |
| parent | 67385caa0ef5771b59bce4aaeff8036346c5f89b (diff) | |
| download | emacs-41311853f22bbd0cefba44cbb835c18973d2502d.tar.gz emacs-41311853f22bbd0cefba44cbb835c18973d2502d.zip | |
(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." | |||
| 174 | (setq name (concat name " ..."))) | 174 | (setq name (concat name " ..."))) |
| 175 | (if (symbolp callback) | 175 | (if (symbolp callback) |
| 176 | (fset command callback) | 176 | (fset command callback) |
| 177 | (fset command (list 'lambda () '(interactive) callback))))) | 177 | (fset command (list 'lambda () '(interactive) callback))) |
| 178 | (put command 'menu-alias t))) | ||
| 178 | (if (null command) | 179 | (if (null command) |
| 179 | ;; Handle inactive strings specially--allow any number | 180 | ;; Handle inactive strings specially--allow any number |
| 180 | ;; of identical ones. | 181 | ;; of identical ones. |