Commit graph

105 commits

Author SHA1 Message Date
Glenn Morris
44e97401cd Standardize possessive apostrophe usage in manuals, docs, and comments
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
2012-02-28 00:17:21 -08:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Stefan Monnier
fc55380c5c * lisp/emacs-lisp/easymenu.el: Add :enable, and obey :label. Require CL.
(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
2011-01-13 21:12:43 -05:00
Stefan Monnier
f291fe60fb Use `declare' in defmacros.
* 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.
2010-08-30 15:03:05 +02:00
Chong Yidong
bd78fa1d54 Add "Package:" file headers to denote built-in packages. 2010-08-29 12:17:13 -04:00
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