(easy-menu-create-keymaps): Add menu-alias property.
This commit is contained in:
parent
67385caa0e
commit
41311853f2
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue