]> git.eshelyaron.com Git - emacs.git/commitdiff
(easy-menu-create-keymaps): Add menu-alias property.
authorRichard M. Stallman <rms@gnu.org>
Thu, 13 Jun 1996 21:04:52 +0000 (21:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 13 Jun 1996 21:04:52 +0000 (21:04 +0000)
lisp/emacs-lisp/easymenu.el

index 192938fca3f25e57903f4228cedfe778dc7ee9e0..df3cc03cae8edb3e0a605671cfbaec4fb0dff852 100644 (file)
@@ -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.