]> git.eshelyaron.com Git - emacs.git/commit
easy-menu-define): Use ` and , read-macros
authorRichard M. Stallman <rms@gnu.org>
Tue, 27 Jan 1998 20:43:57 +0000 (20:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 27 Jan 1998 20:43:57 +0000 (20:43 +0000)
commit024bda024c737b337ed924db6d1bb6c7af7a4217
tree5f6dc2c8f8535d61522a9a18be771d59c82032c0
parent8aa3a244a3eb61c7eddccf41a6c963530361276a
easy-menu-define): Use ` and , read-macros
instead of (` and (,.  Implement :filter.  Doc fix.
(easy-menu-do-define): Call `easy-menu-create-menu' instead of
`easy-menu-create-keymaps'.
(easy-menu-create-keymaps): Replaced by `easy-menu-create-menu'.
(easy-menu-create-menu): New public function.  Replaces
`easy-menu-create-keymaps', but with large changes.
(easy-menu-button-prefix): New constant.
(easy-menu-do-add-item, easy-menu-make-symbol): New functions.
(easy-menu-update-button): Doc fix.
(easy-menu-change): New optional argument BEFORE.
Now just a call to `easy-menu-add-item'.
(easy-menu-add-item, easy-menu-item-present-p)
(easy-menu-remove-item): New public functions.
(easy-menu-get-map, easy-menu-is-button-p, easy-menu-have-button-p)
(easy-menu-real-binding, easy-menu-change-prefix, easy-menu-filter):
New functions.
lisp/emacs-lisp/easymenu.el