Commit 9e16c3b4 authored by Glenn Morris's avatar Glenn Morris
Browse files

* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix re setf.

parent 213ac168
2013-02-14 Glenn Morris <rgm@gnu.org>
* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2013-02-14 Stefan Monnier <monnier@iro.umontreal.ca> 2013-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
   
* net/goto-addr.el (goto-address-fontify): Add start and end args. * net/goto-addr.el (goto-address-fontify): Add start and end args.
......
...@@ -132,13 +132,14 @@ BODY contains code to execute each time the mode is enabled or disabled. ...@@ -132,13 +132,14 @@ BODY contains code to execute each time the mode is enabled or disabled.
:require SYM Same as in `defcustom'. :require SYM Same as in `defcustom'.
:variable PLACE The location to use instead of the variable MODE to store :variable PLACE The location to use instead of the variable MODE to store
the state of the mode. This can be simply a different the state of the mode. This can be simply a different
named variable, or more generally anything that can be used named variable, or a generalized variable.
with the CL macro `setf'. PLACE can also be of the form PLACE can also be of the form \(GET . SET), where GET is
\(GET . SET), where GET is an expression that returns the an expression that returns the current state, and SET is
current state, and SET is a function that takes one argument, a function that takes one argument, the new state, and
the new state, and sets it. If you specify a :variable, sets it. If you specify a :variable, this function does
this function does not define a MODE variable (nor any of not define a MODE variable (nor any of the terms used
the terms used in :variable). in :variable).
:after-hook A single lisp form which is evaluated after the mode hooks :after-hook A single lisp form which is evaluated after the mode hooks
have been run. It should not be quoted. have been run. It should not be quoted.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment