Commit graph

98 commits

Author SHA1 Message Date
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Stefan Monnier
59c7bf4d7b (easy-menu-add): Don't precompute keybindings
since those precomputed values aren't used any more.
(easy-menu-precalculate-equivalent-keybindings): Obsolete.
2008-08-14 17:42:21 +00:00
Stefan Monnier
d338d019e4 (easy-menu-convert-item, easy-menu-convert-item-1):
Move the duplicate-generation outside of the caching so it also works
for identical entries.
2008-05-28 18:56:08 +00:00
Glenn Morris
d6cba7ae45 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:21:21 +00:00
Stefan Monnier
b7b49316c5 (easy-menu-make-symbol): Don't wrap keyboard macros within lambdas. 2008-04-24 02:02:40 +00:00
Stefan Monnier
5dbb074d60 (easy-menu-avoid-duplicate-keys): New var.
(easy-menu-create-menu, easy-menu-convert-item-1): Use it to avoid
using the same key for different menu entries.
2008-01-15 22:33:05 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Glenn Morris
42e32ed89c (easy-menu-define): Doc fix. 2007-11-26 03:49:23 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
ab2d877d45 Replace `iff' in doc-strings and comments. 2007-08-08 07:17:12 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
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
2007-07-26 05:28:10 +00:00
Glenn Morris
e0085d62fa Switch license to GPLv3 or later. 2007-07-25 04:14:29 +00:00
Stefan Monnier
d388336001 (easy-menu-binding): New function.
(easy-menu-do-define): Use it.
(easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.
2007-07-10 16:35:24 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Vinicius Jose Latorre
39d410b58b easy-menu-change patch 2006-12-26 03:26:14 +00:00
Glenn Morris
d59c31376c Update copyright years. 2006-12-07 05:06:17 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Richard M. Stallman
81013a6cde (easy-menu-change): Doc fix. 2005-10-28 16:22:47 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Stefan Monnier
51a67d35db 4-digit copyright years. 2005-06-01 16:22:43 +00:00
Stefan Monnier
6cb9fac363 (easy-menu-return-item): Find menu items with a nil command binding. 2005-06-01 16:22:00 +00:00
David Kastrup
8292be61c5 (easy-menu-add): Correct docstring since
easy-menu-add is not a nop on Emacs; and clarify when to call it.
2005-05-20 15:30:59 +00:00
Nick Roberts
f964fa513c (easy-menu-define): Doc fixes. 2005-05-13 23:22:42 +00:00
Richard M. Stallman
25e73e0cdb (easy-menu-do-define): Use defalias, not fset. 2005-04-23 16:38:03 +00:00
Stefan Monnier
fe6ca60c21 (easy-menu-add-item): Use keymap-prompt. Simplify. 2004-11-10 16:20:20 +00:00
Stefan Monnier
d0db69919b (easy-menu-define-key): Understand the case where the keymap is a symbol. 2004-11-10 15:15:43 +00:00
Stefan Monnier
0c90b62944 (easy-menu-intern): Revert to no-downcasing.
(easy-menu-name-match): Revert correspondingly.
2004-11-09 14:37:10 +00:00
Andreas Schwab
cffe562a9f (easy-menu-get-map): Fix last change. 2004-11-06 14:43:43 +00:00
Stefan Monnier
242399cd03 (easy-menu-get-map-look-for-name): Remove.
(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.
2004-11-06 10:01:56 +00:00
Richard M. Stallman
da6e3103c4 (easy-menu-intern):
Don't downcase; rather, case-flip the first letter of each word.
2004-11-02 09:26:28 +00:00
Richard M. Stallman
67d170f2d2 (easy-menu-add): Do call x-popup-menu, but only if it's defined. 2004-04-21 19:14:49 +00:00
Stefan Monnier
b1b2ae8162 (easy-menu-add): Make it work in non-X Emacs. 2004-04-09 16:41:36 +00:00
Eli Zaretskii
dffafab086 (easy-menu-define): Doc fix. 2003-12-29 12:05:15 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
dca6b77cab (easy-menu-get-map): Correctly handle non-submap bindings. 2003-04-30 20:53:04 +00:00
Richard M. Stallman
efc13f4638 (easy-menu-define): Don't make a defvar for nil.
(easy-menu-convert-item-1): Doc fix.
(easy-menu-change): Call easy-menu-create-menu.
2003-04-03 23:15:47 +00:00
Stefan Monnier
4a1186d388 (easy-menu-add-item): Align the docstring with the code. 2003-03-24 17:29:20 +00:00
John Paul Wallington
4b0cbff969 (easy-menu-add-item): Don't default to the global map. 2003-03-24 12:21:02 +00:00
Stefan Monnier
26647ce218 (easy-menu-name-match): Catch any error that member-ignore-case might signal.
(easy-menu-add-item): Default to the global map, as documented.
(easy-menu-convert-item-1): Use match-string.
2003-03-16 00:39:23 +00:00
Richard M. Stallman
74c7e66da4 (easy-menu-do-define): Handle nil for SYMBOL.
(easy-menu-define): Doc fix, say SYMBOL can be nil.
2002-12-23 17:59:04 +00:00
Stefan Monnier
0f18f01cab (easy-menu-remove): Add docstring. 2002-09-19 05:12:24 +00:00
Juanma Barranquero
07c209a089 (easy-menu-define): Fix spacing. 2002-09-06 07:13:06 +00:00
Stefan Monnier
e899e3de1e (easy-menu-filter-return):
Handle the case where the filter returns a single menu entry.
(easy-menu-add): Improve docstring.
(easy-menu-current-active-maps): Remove.
(easy-menu-get-map): Use current-active-maps.
2002-08-30 21:55:07 +00:00
Richard M. Stallman
259bf181b5 (easy-menu-popup-menu): Function deleted. 2002-07-07 09:56:08 +00:00
Richard M. Stallman
89fd3098d8 (easy-menu-popup-menu): New function. 2002-07-02 18:49:03 +00:00
Stefan Monnier
9567300236 (easy-menu-make-symbol): Don't treat (lambda () ...) as an expression. 2002-05-15 22:14:16 +00:00
Eli Zaretskii
08ad334280 (easy-menu-add): Doc fix. 2002-05-15 16:49:54 +00:00