diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-16 14:24:53 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-16 14:24:53 +0200 |
commit | b9243b034b9218bbc0bf6a1e12903aea008316cb (patch) | |
tree | e8d6e3a5f3ac10db19e61592038e848f554b71bb /doc | |
parent | adb450719a63621decab2bfb4addb030afd14db2 (diff) | |
download | emacs-b9243b034b9218bbc0bf6a1e12903aea008316cb.tar.gz |
Minor clarification for define-minor-mode :variable
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
* doc/lispref/modes.texi (Defining Minor Modes): Clarify what the
setter function should do (bug#14875).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/modes.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 4274810cba5..d9caeab3bc3 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -1728,7 +1728,8 @@ anything that can be used with the @code{setf} function (@pxref{Generalized Variables}). @var{place} can also be a cons @code{(@var{get} . @var{set})}, where @var{get} is an expression that returns the current state, -and @var{set} is a function of one argument (a state) that sets it. +and @var{set} is a function of one argument (a state) which should be +assigned to @var{place}. @item :after-hook @var{after-hook} This defines a single Lisp form which is evaluated after the mode hooks |