summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easymenu.el
Commit message (Collapse)AuthorAgeFilesLines
* (easy-menu-do-add-item): Small simplifications.Richard M. Stallman1998-05-231-11/+30
| | | | | | (easy-menu-precalculate-equivalent-keybindings): New customization variable. (easy-menu-add): Precalculate key bindings if `easy-menu-precalculate-equivalent-keybindings' is on.
* (easy-menu-change): Add autoload cookie.Richard M. Stallman1998-05-111-0/+1
|
* (easy-menu-define-key): Fixed bug with BEFORERichard M. Stallman1998-04-281-12/+12
| | | | | argument. Now it works also if you repeat an identical call to easy-menu-define-key.
* Use new menu item format. Don't simulate button prefix.Richard M. Stallman1998-04-241-204/+150
| | | | | | | | | | | | | | | | (easy-menu-create-menu): Understand also keywords :active, :label and :visible. Don't worry about button prefix. (easy-menu-button-prefix): Modified value. (easy-menu-do-add-item): Extensive changes to use new menu item format. (easy-menu-define-key, easy-menu-always-true): New functions. (easy-menu-make-symbol): Don't use indirection for symbols. Property `menu-alias' not set. (easy-menu-filter, easy-menu-update-button): Deleted. (easy-menu-add-item): Don't worry about button prefix. (easy-menu-remove-item): Don't worry about button prefix. Use `easy-menu-define-key'. (easy-menu-is-button, easy-menu-have-button): Deleted. (easy-menu-real-binding, easy-menu-change-prefix): Deleted.
* (easy-menu-do-add-item):Richard M. Stallman1998-04-211-6/+9
| | | | | Do the right thing when nil is specified as criterion for activeness. Fix string used to report an invalid item.
* (easy-menu-change): Handle case of no keywords.Richard M. Stallman1998-03-031-1/+1
|
* (easy-menu-add-item); The BEFORE argument worksRichard M. Stallman1998-01-301-57/+58
| | | | | | | | now. Done by letting `easy-menu-do-add-item' handle it. (easy-menu-do-add-item): Take argument BEFORE instead of PREV. Inserts directly in keymap, instead of calling `define-key-after'. (easy-menu-create-menu): Don't reverse items as `easy-menu-do-add-item' now puts things at the end of keymaps.
* easy-menu-define): Use ` and , read-macrosRichard M. Stallman1998-01-271-108/+302
| | | | | | | | | | | | | | | | | | | 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.
* (easy-menu-create-keymaps):Richard M. Stallman1997-09-051-1/+5
| | | | | If two distinct items have the same string, make different keyx events for them.
* (easy-menu-create-keymaps): If nil isRichard M. Stallman1997-08-281-4/+7
| | | | given as the enable condition, always disable the command.
* (easy-menu-create-keymaps): Menu item STYLE toggle (checkbox)Richard M. Stallman1997-01-021-28/+64
| | | | | | | | | | | | | and radio (radio button) are prefixed by "[X] " or "(*) " respectively, when selected and "[ ] " or "( ) ", when not selected. In a menu that contain these prefixes, " " is used as prefix for items that have no other prefix. (easy-menu-update-button): New function used as `menu-enable' property for checkboxes and radio buttons to update the prefixes. (easy-menu-define): Change documentation string to describe the new prefixes.
* (easy-menu-do-define): Use `x-popup-menu' instead ofRichard M. Stallman1996-09-111-1/+1
| | | | non-existing `easy-popup-menu'.
* (easy-menu-create-keymaps): Add menu-alias property.Richard M. Stallman1996-06-131-1/+2
|
* Update FSF's address.Erik Naggum1996-01-141-5/+8
|
* (easy-menu-define): Doc fix.Karl Heuer1996-01-091-1/+1
|
* (easy-menu-do-define): Add autoload cookie.Karl Heuer1995-05-201-0/+1
|
* (easy-menu-create-keymaps): Set menu-enable prop.Karl Heuer1995-05-171-1/+2
|
* (easy-menu-define): Doc fix.Richard M. Stallman1995-04-241-2/+2
|
* (easy-menu-define): Doc fix.Karl Heuer1995-01-131-4/+2
|
* (easy-menu-define): Call `easy-menu-do-define' to doRichard M. Stallman1994-10-281-12/+88
| | | | | | | the real work. Document XEmacs keyword arguments. (easy-menu-do-define): New function. (easy-menu-create-keymaps): Support XEmacs keyword arguments in menu definition.
* (easy-menu-create-keymaps): Add autoload cookie.Richard M. Stallman1994-10-181-0/+1
|
* (easy-menu-define): Doc fix.Richard M. Stallman1994-08-141-2/+2
|
* (easy-menu-change): New function.Richard M. Stallman1994-06-291-0/+14
|
* (easy-menu-create-keymaps):Richard M. Stallman1994-05-221-3/+3
| | | | Renamed from easy-menu-keymap. Callers changed.
* entered into RCSRichard M. Stallman1994-04-111-1/+1
|
* *** empty log message ***Richard M. Stallman1994-03-301-17/+27
|
* *** empty log message ***Richard M. Stallman1994-03-271-23/+22
|
* Initial revisionRichard M. Stallman1994-03-251-0/+104