1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

96 Commits

Author SHA1 Message Date
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
210c6549fa (easy-mmode-set-keymap-parents): Evaluate definition when compiling. 2008-06-21 23:01:01 +00:00
Glenn Morris
d6cba7ae45 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:21:21 +00:00
Glenn Morris
38a48ab7a8 Tom Tromey <tromey at redhat.com>
(easy-mmode-define-keymap): Document keywords.  Add :suppress.
2008-04-24 05:47:18 +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
Stefan Monnier
cc34934141 (easy-mmode-define-navigation):
Add `body' arg.  Cleanup the check-narrow-maybe/re-narrow-maybe mess.
2007-10-20 01:46:38 +00:00
Miles Bader
1af74d06e5 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Juanma Barranquero
9b97ee2e47 (easy-mmode-define-syntax): Use mapc' rather than mapcar'. 2007-09-26 00:12:23 +00:00
Stefan Monnier
dae157b7c9 (define-minor-mode): Fix staging brain damage. 2007-09-21 18:27:34 +00:00
Glenn Morris
e0085d62fa Switch license to GPLv3 or later. 2007-07-25 04:14:29 +00:00
Juanma Barranquero
9605302019 (define-minor-mode, easy-mmode-define-navigation): Fix typos in docstrings. 2007-06-04 22:51:47 +00:00
Richard M. Stallman
7d5e5e7087 (define-minor-mode): Fix generated doc string. 2007-05-10 16:33:50 +00:00
Richard M. Stallman
44395dee2e (define-globalized-minor-mode): Improve doc string of generated command. 2007-04-22 16:58:23 +00:00
Chong Yidong
275e4f4ca5 (define-globalized-minor-mode): Rename from define-global-minor-mode. 2007-02-03 17:26:28 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Richard M. Stallman
9f729dab76 (define-global-minor-mode): Doc fix. 2006-12-30 21:34:14 +00:00
Chong Yidong
9e288f7521 (easy-mmode-define-navigation): Fix interactive spec of the functions
getting defined to make them work as documented.
2006-11-28 19:22:31 +00:00
Richard M. Stallman
da506c0e74 (define-minor-mode): Reference manual about customization, rather than
M-x customize, in the doc string made for the defcustom.
2006-08-31 23:14:26 +00:00
Richard M. Stallman
b50b95ce64 (define-minor-mode): Doc fix. 2006-07-09 02:02:03 +00:00
Eli Zaretskii
1094404231 (define-minor-mode): Doc fix. 2006-07-08 15:20:52 +00:00
Stefan Monnier
8c87a72c22 (define-minor-mode): Only preserve messages output during execution of the body. 2006-05-08 15:12:25 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Juri Linkov
d5ba8197bb (easy-mmode-define-navigation): Put `definition-name' properties on the
constructed function names next-sym and prev-sym.
2005-12-04 02:34:33 +00:00
Luc Teirlinck
0ceed14b2e (define-global-minor-mode): Pass all specified keyword args on to
`define-minor-mode'.  Update docstring.
2005-11-05 23:03:57 +00:00
Stefan Monnier
94dfee0bfe (define-minor-mode): Simplify. 2005-08-24 11:54:25 +00:00
Luc Teirlinck
f4cb1d8cae (define-minor-mode): Never call the mode function using `eval-after-load'. 2005-07-22 01:26:03 +00:00
Luc Teirlinck
fceb44d286 (define-minor-mode): Avoid constructing a defcustom with two :set or
:type keywords.
2005-07-16 02:25:48 +00:00
Luc Teirlinck
c736d6cff6 (define-minor-mode): Do not override explicitly specified :initialize keyword. 2005-07-14 00:56:13 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Stefan Monnier
62350cdd1a (define-minor-mode): Don't automatically add a :require to the defcustom. 2005-06-26 18:21:46 +00:00
Richard M. Stallman
a566ce8e09 (define-minor-mode): If BODY is empty, give the variable a doc string
that doesn't say don't set it directly.
2005-06-08 15:54:43 +00:00
Luc Teirlinck
876daebc85 (define-global-minor-mode): Make it keep track of which major mode it
enabled the minor mode for.  Use find-file-hook again.  Update docstring.
2005-06-04 22:13:57 +00:00
Luc Teirlinck
7fb8093523 (define-global-minor-mode): Use `after-change-major-mode-hook' instead
of `find-file-hook'.
2005-05-22 22:07:22 +00:00
Lute Kamstra
f567894362 (define-minor-mode): Don't generate a defcustom for the mode hook variable. 2005-05-17 15:17:18 +00:00
Eli Zaretskii
906aee9391 (easy-mmode-pretty-mode-name): Improve commentary. 2005-05-08 19:39:20 +00:00
Eli Zaretskii
e6469973d4 (easy-mmode-pretty-mode-name): Explain
more about the LIGHTER arg's usage in the doc string.  Add
commentary to clarify what the code does.  Fix the regexp that
strips whitespace from LIGHTER.  Quote LIGHTER before using it,
since it could have characters special to regular expressions.
2005-05-07 15:06:42 +00:00
Lute Kamstra
c25eec81aa (define-minor-mode): Fix docstring. 2005-04-26 14:17:51 +00:00
Lute Kamstra
ab7bc2908b (define-global-minor-mode): Don't use custom-current-group.
(define-minor-mode): Ditto.  Document default :group value.
2005-04-05 14:46:29 +00:00
Richard M. Stallman
39a27f952b (define-global-minor-mode): Renamed from easy-mmode-define-global-mode.
(easy-mmode-define-global-mode): Alias for define-global-minor-mode.
2005-03-31 21:16:54 +00:00
Lute Kamstra
2a3a044ce6 (easy-mmode-define-global-mode, define-minor-mode): Call
custom-current-group at load-time.
2005-03-31 14:49:09 +00:00
Richard M. Stallman
a27235b3b5 (define-minor-mode): Use called-interactively-p. 2004-11-02 09:23:34 +00:00
Stefan Monnier
e8a12926bb (easy-mmode-define-navigation): Use a more robust check of widening. 2004-01-27 22:54:45 +00:00
Thien-Thi Nguyen
877f9b0513 (easy-mmode-define-navigation): Take additional
optional arg NARROWFUN.  For the generated functions: Add local var
`was-narrowed-p'.  Also, if NARROWFUN is specified, include frags that
arrange to check for and save narrowing state before the move and then
conditionally call NARROWFUN after the move.
2003-11-14 16:18:01 +00:00
Dave Love
6c119ac0b4 (easy-mmode-define-navigation): Avoid
incf in macro expansion.
2003-10-20 19:07:02 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Andreas Schwab
8fd9bef258 (easy-mmode-define-navigation): Avoid
variable as format argument for error.  Don't call symbol-name on
string.
2003-06-22 16:55:47 +00:00
Stefan Monnier
2e2a00756f (define-minor-mode): Add edebug spec.
Accept a :keymap argument, as you'd expect.
2003-05-29 21:54:35 +00:00
Stefan Monnier
eb81f2758f (define-minor-mode): Only echo a message if the body didn't do so already.
(easy-mmode-define-keymap): Remove unused var `suppress'.
2003-04-18 17:31:05 +00:00
Stefan Monnier
73ceba9f1a (define-minor-mode): Use custom-set-minor-mode.
Pass unknown keyword args blindly to defcustom.
2003-03-24 17:41:43 +00:00