diff options
| author | Glenn Morris | 2013-02-14 09:16:47 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-02-14 09:16:47 -0800 |
| commit | 9e16c3b44bcf407678563f0bd679c0887ec3011c (patch) | |
| tree | 8bf4edb89b6e0584c78cea85b1746f778aa84866 | |
| parent | 213ac1686cc1557a77c6fb38619f7f6d6076051a (diff) | |
| download | emacs-9e16c3b44bcf407678563f0bd679c0887ec3011c.tar.gz emacs-9e16c3b44bcf407678563f0bd679c0887ec3011c.zip | |
* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix re setf.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 15 |
2 files changed, 12 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5bd02f933de..4a328a749bc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-02-14 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. | ||
| 4 | |||
| 1 | 2013-02-14 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2013-02-14 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * net/goto-addr.el (goto-address-fontify): Add start and end args. | 7 | * net/goto-addr.el (goto-address-fontify): Add start and end args. |
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 9173d148c6a..166c093f37b 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el | |||
| @@ -132,13 +132,14 @@ BODY contains code to execute each time the mode is enabled or disabled. | |||
| 132 | :require SYM Same as in `defcustom'. | 132 | :require SYM Same as in `defcustom'. |
| 133 | :variable PLACE The location to use instead of the variable MODE to store | 133 | :variable PLACE The location to use instead of the variable MODE to store |
| 134 | the state of the mode. This can be simply a different | 134 | the state of the mode. This can be simply a different |
| 135 | named variable, or more generally anything that can be used | 135 | named variable, or a generalized variable. |
| 136 | with the CL macro `setf'. PLACE can also be of the form | 136 | PLACE can also be of the form \(GET . SET), where GET is |
| 137 | \(GET . SET), where GET is an expression that returns the | 137 | an expression that returns the current state, and SET is |
| 138 | current state, and SET is a function that takes one argument, | 138 | a function that takes one argument, the new state, and |
| 139 | the new state, and sets it. If you specify a :variable, | 139 | sets it. If you specify a :variable, this function does |
| 140 | this function does not define a MODE variable (nor any of | 140 | not define a MODE variable (nor any of the terms used |
| 141 | the terms used in :variable). | 141 | in :variable). |
| 142 | |||
| 142 | :after-hook A single lisp form which is evaluated after the mode hooks | 143 | :after-hook A single lisp form which is evaluated after the mode hooks |
| 143 | have been run. It should not be quoted. | 144 | have been run. It should not be quoted. |
| 144 | 145 | ||