aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-07-03 01:52:35 +0200
committerLars Magne Ingebrigtsen2011-07-03 01:52:35 +0200
commit8a20ca4cb08150fa42c18b9b2147226077d9a9b0 (patch)
tree6c4f70c19e80a2c72bed39d2d2ce3e0aff5d6b21
parent7a8e04f79efdefcb3eb7cb2cf5dbb454a78cf24e (diff)
downloademacs-8a20ca4cb08150fa42c18b9b2147226077d9a9b0.tar.gz
emacs-8a20ca4cb08150fa42c18b9b2147226077d9a9b0.zip
Clarify that SETFUNCTION is only used in the Customize user interface
(bug#6089).
-rw-r--r--doc/lispref/ChangeLog3
-rw-r--r--doc/lispref/customize.texi11
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/custom.el3
4 files changed, 14 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index c3414e288ac..a87cd201676 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,8 @@
12011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> 12011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * customize.texi (Variable Definitions): Clarify that SETFUNCTION
4 is only used in the Customize user interface (bug#6089).
5
3 * display.texi (Showing Images): Mention the point of sliced 6 * display.texi (Showing Images): Mention the point of sliced
4 images (bug#7836). 7 images (bug#7836).
5 8
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi
index cb32d0ef340..ff658eb81f8 100644
--- a/doc/lispref/customize.texi
+++ b/doc/lispref/customize.texi
@@ -326,11 +326,12 @@ individual types for a description of how to use @code{:options}.
326@item :set @var{setfunction} 326@item :set @var{setfunction}
327@kindex set@r{, @code{defcustom} keyword} 327@kindex set@r{, @code{defcustom} keyword}
328Specify @var{setfunction} as the way to change the value of this 328Specify @var{setfunction} as the way to change the value of this
329option. The function @var{setfunction} should take two arguments, a 329option when using the Customize user interface. The function
330symbol (the option name) and the new value, and should do whatever is 330@var{setfunction} should take two arguments, a symbol (the option
331necessary to update the value properly for this option (which may not 331name) and the new value, and should do whatever is necessary to update
332mean simply setting the option as a Lisp variable). The default for 332the value properly for this option (which may not mean simply setting
333@var{setfunction} is @code{set-default}. 333the option as a Lisp variable). The default for @var{setfunction} is
334@code{set-default}.
334 335
335@item :get @var{getfunction} 336@item :get @var{getfunction}
336@kindex get@r{, @code{defcustom} keyword} 337@kindex get@r{, @code{defcustom} keyword}
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2955592d43b..d4cce8627c2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> 12011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * custom.el (defcustom): Clarify that :set is only used in the
4 Customize user interface (bug#6089).
5
3 * progmodes/flymake.el (flymake-mode): If the buffer isn't 6 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4 associated with a file, refuse to run instead of erroring out 7 associated with a file, refuse to run instead of erroring out
5 (bug#6084). 8 (bug#6084).
diff --git a/lisp/custom.el b/lisp/custom.el
index 2504b4f2cd9..a1c7f3e11e7 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -215,7 +215,8 @@ The following keywords are meaningful:
215 variable. It takes two arguments, the symbol and value 215 variable. It takes two arguments, the symbol and value
216 given in the `defcustom' call. The default is 216 given in the `defcustom' call. The default is
217 `custom-initialize-reset'. 217 `custom-initialize-reset'.
218:set VALUE should be a function to set the value of the symbol. 218:set VALUE should be a function to set the value of the symbol
219 when using the Customize user interface.
219 It takes two arguments, the symbol to set and the value to 220 It takes two arguments, the symbol to set and the value to
220 give it. The default choice of function is `set-default'. 221 give it. The default choice of function is `set-default'.
221:get VALUE should be a function to extract the value of symbol. 222:get VALUE should be a function to extract the value of symbol.