aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lispref/customize.texi13
1 files changed, 5 insertions, 8 deletions
diff --git a/lispref/customize.texi b/lispref/customize.texi
index a1a61ab6b09..10911cea165 100644
--- a/lispref/customize.texi
+++ b/lispref/customize.texi
@@ -283,17 +283,14 @@ those other variables already have their intended values.
283operation of a certain feature. Assuming that the package is coded to 283operation of a certain feature. Assuming that the package is coded to
284check the value of the option, you still need to arrange for the package 284check the value of the option, you still need to arrange for the package
285to be loaded. You can do that with @code{:require}. @xref{Common 285to be loaded. You can do that with @code{:require}. @xref{Common
286Keywords}. Here is an example, from the library @file{tooltip.el}: 286Keywords}. Here is an example, from the library @file{saveplace.el}:
287 287
288@example 288@example
289(defcustom tooltip-mode nil 289(defcustom save-place nil
290 "Non-nil if Tooltip mode is enabled..." 290 "*Non-nil means automatically save place in each file..."
291 :set (lambda (symbol value)
292 (tooltip-mode (or value 0)))
293 :initialize 'custom-initialize-default
294 :type 'boolean 291 :type 'boolean
295 :require 'tooltip 292 :require 'saveplace
296 :group 'tooltip) 293 :group 'save-place)
297@end example 294@end example
298 295
299If a customization item has a type such as @code{hook} or @code{alist}, 296If a customization item has a type such as @code{hook} or @code{alist},