summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easymenu.el
Commit message (Collapse)AuthorAgeFilesLines
* Improve documentation of easy-menu-define.Chong Yidong2012-10-241-78/+69
| | | | | | | | | * lisp/emacs-lisp/easymenu.el (easy-menu-define): Doc fix. * doc/lispref/keymaps.texi (Toolkit Differences): Node deleted. (Easy Menu): New node. Fixes: debbugs:12628
* * lisp/emacs-lisp/edebug.el: Miscellaneous cleanup.Stefan Monnier2012-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove obsolete byte-compiler hack that tried to silence some warnings. (edebug-submit-bug-report): Remove. (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p): Remove aliases, use the un-prefixed name instead. (edebug-pop-to-buffer): Consider other frames. (edebug-original-read):: Make it more obvious that it's always defined. (edebug--make-form-data-entry, edebug--form-data-name) (edebug--form-data-begin, edebug--form-data-end): Rename from the single-dashed name, and implement with cl-defstruct. (edebug-set-form-data-entry): Use the standard accessors. (edebug-make-top-form-data-entry): Use push. (edebug-no-match): Drop useless `funcall'. (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs to functions. (defsubst, dont-compile, eval-when-compile, eval-and-compile) (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist) (with-syntax-table, push, pop, 1value, noreturn, defadvice) (easy-menu-define, with-custom-print): Remove redundant specs. (edebug-outside-overriding-local-map) (edebug-outside-overriding-terminal-local-map): Remove, unused. (edebug--display): Bind unread-command-events directly to nil rather than binding it to unread-command-events and later setting it to nil. (edebug--display): Kill edebug-eval-buffer here... (edebug--recursive-edit): ...rather than here. Bind standard-output and standard-input. (edebug-eval): Check cl-macroexpand-all is fboundp. (edebug-temp-display-freq-count): Fix last change. * lisp/emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec. * lisp/subr.el (noreturn, 1value): Add `debug' spec. * lisp/emacs-lisp/advice.el: Require cl-lib. (ad-copy-tree): Remove, use copy-tree instead. (ad-dolist): Remove use dolist or cl-dolist instead. (ad-do-return): Remove, use cl-return instead. (defadvice): Add `debug' spec.
* Reduce use of cl in lisp/emacs-lisp/.Stefan Monnier2012-06-101-18/+16
| | | | | | | | | * lisp/emacs-lisp/timer.el, lisp/emacs-lisp/syntax.el, lisp/emacs-lisp/smie.el: * lisp/emacs-lisp/ewoc.el, lisp/emacs-lisp/cconv.el,lisp/emacs-lisp/derived.el: * lisp/emacs-lisp/byte-opt.el, lisp/emacs-lisp/autoload.el: Convert to cl-lib. * lisp/emacs-lisp/easymenu.el, lisp/emacs-lisp/easy-mmode.el: * lisp/emacs-lisp/bytecomp.el: Use pcase instead of `cl'. * lisp/emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
* Standardize possessive apostrophe usage in manuals, docs, and commentsGlenn Morris2012-02-281-1/+1
| | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* * lisp/emacs-lisp/easymenu.el: Add :enable, and obey :label. Require CL.Stefan Monnier2011-01-131-41/+43
| | | | | | | | | (easy-menu-create-menu, easy-menu-convert-item-1): Use :label rather than nil for labels. Use `case'. Add :enable as alias for :active. (easy-menu-binding): Obey :label. Fixes: debbugs:7754
* Use `declare' in defmacros.Stefan Monnier2010-08-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (save-selected-window): * lisp/subr.el (with-temp-file, with-temp-message, with-syntax-table): * lisp/progmodes/python.el (def-python-skeleton): * lisp/net/dbus.el (dbus-ignore-errors): * lisp/jka-cmpr-hook.el (with-auto-compression-mode): * lisp/international/mule.el (with-category-table): * lisp/emacs-lisp/timer.el (with-timeout): * lisp/emacs-lisp/lisp-mnt.el (lm-with-file): * lisp/emacs-lisp/eieio.el (with-slots): * lisp/emacs-lisp/easymenu.el (easy-menu-define): * lisp/emacs-lisp/debug.el (debugger-env-macro): * lisp/emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq) (Multiple-value-call, Multiple-value-prog1): * lisp/emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key) (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and edebug rule to definition. * lisp/emacs-lisp/lisp-mode.el (save-selected-window) (with-current-buffer, combine-after-change-calls) (with-output-to-string, with-temp-file, with-temp-buffer) (with-temp-message, with-syntax-table, read-if, eval-after-load) (dolist, dotimes, when, unless): * lisp/emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
* Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (easy-menu-add): Don't precompute keybindingsStefan Monnier2008-08-141-17/+6
| | | | | since those precomputed values aren't used any more. (easy-menu-precalculate-equivalent-keybindings): Obsolete.
* (easy-menu-convert-item, easy-menu-convert-item-1):Stefan Monnier2008-05-281-17/+19
| | | | | Move the duplicate-generation outside of the caching so it also works for identical entries.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (easy-menu-make-symbol): Don't wrap keyboard macros within lambdas.Stefan Monnier2008-04-241-1/+4
|
* (easy-menu-avoid-duplicate-keys): New var.Stefan Monnier2008-01-151-22/+43
| | | | | (easy-menu-create-menu, easy-menu-convert-item-1): Use it to avoid using the same key for different menu entries.
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | (easy-menu-define): Doc fix.Glenn Morris2007-11-261-1/+6
| |
* | Merge from emacs--rel--22Miles Bader2007-08-131-1/+1
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
| * Replace `iff' in doc-strings and comments.Glenn Morris2007-08-081-1/+1
| |
* | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <rgm@gnu.org> * Relicense all FSF files to GPLv3 or later. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | (easy-menu-binding): New function.Stefan Monnier2007-07-101-16/+24
|/ | | | | (easy-menu-do-define): Use it. (easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* easy-menu-change patchVinicius Jose Latorre2006-12-261-2/+6
|
* Update copyright years.Glenn Morris2006-12-071-2/+2
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (easy-menu-change): Doc fix.Richard M. Stallman2005-10-281-2/+2
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* 4-digit copyright years.Stefan Monnier2005-06-011-1/+2
|
* (easy-menu-return-item): Find menu items with a nil command binding.Stefan Monnier2005-06-011-3/+10
|
* (easy-menu-add): Correct docstring sinceDavid Kastrup2005-05-201-5/+9
| | | | easy-menu-add is not a nop on Emacs; and clarify when to call it.
* (easy-menu-define): Doc fixes.Nick Roberts2005-05-131-3/+3
|
* (easy-menu-do-define): Use defalias, not fset.Richard M. Stallman2005-04-231-12/+12
|
* (easy-menu-add-item): Use keymap-prompt. Simplify.Stefan Monnier2004-11-101-8/+3
|
* (easy-menu-define-key): Understand the case where the keymap is a symbol.Stefan Monnier2004-11-101-0/+1
|
* (easy-menu-intern): Revert to no-downcasing.Stefan Monnier2004-11-091-21/+2
| | | | (easy-menu-name-match): Revert correspondingly.
* (easy-menu-get-map): Fix last change.Andreas Schwab2004-11-061-1/+1
|
* (easy-menu-get-map-look-for-name): Remove.Stefan Monnier2004-11-061-29/+44
| | | | | | | | (easy-menu-lookup-name): New fun to replace it. (easy-menu-get-map): Use it to obey menu item names (rather than just keys) when looking up `path'. (easy-menu-always-true-p): Rename from easy-menu-always-true. (easy-menu-convert-item-1): Adjust to new name.
* (easy-menu-intern):Richard M. Stallman2004-11-021-1/+19
| | | | Don't downcase; rather, case-flip the first letter of each word.
* (easy-menu-add): Do call x-popup-menu, but only if it's defined.Richard M. Stallman2004-04-211-2/+2
|
* (easy-menu-add): Make it work in non-X Emacs.Stefan Monnier2004-04-091-2/+4
|
* (easy-menu-define): Doc fix.Eli Zaretskii2003-12-291-2/+2
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (easy-menu-get-map): Correctly handle non-submap bindings.Stefan Monnier2003-04-301-2/+2
|
* (easy-menu-define): Don't make a defvar for nil.Richard M. Stallman2003-04-031-10/+4
| | | | | (easy-menu-convert-item-1): Doc fix. (easy-menu-change): Call easy-menu-create-menu.
* (easy-menu-add-item): Align the docstring with the code.Stefan Monnier2003-03-241-1/+1
|