aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Roberts2005-04-18 08:21:21 +0000
committerNick Roberts2005-04-18 08:21:21 +0000
commit1a60ceaead6ca2b2e15a1bc758ed54d2a032c3e3 (patch)
tree9ce07272913a55eb30b54184b17843b922bc8a12
parent47872da9a5d49ec59785175e70c3904a4b44ca23 (diff)
downloademacs-1a60ceaead6ca2b2e15a1bc758ed54d2a032c3e3.tar.gz
emacs-1a60ceaead6ca2b2e15a1bc758ed54d2a032c3e3.zip
(Variable Definitions): Replace tooltip-mode
example with save-place.
-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},