# HG changeset patch # User Nick Roberts # Date 1113812481 0 # Node ID 72a73fd3289a4ad41ae4cddbecd47f9372cc00b4 # Parent 12602d832e3766b0a18f6e59f38e8c830af3588d (Variable Definitions): Replace tooltip-mode example with save-place. diff -r 12602d832e37 -r 72a73fd3289a lispref/customize.texi --- a/lispref/customize.texi Mon Apr 18 08:20:39 2005 +0000 +++ b/lispref/customize.texi Mon Apr 18 08:21:21 2005 +0000 @@ -283,17 +283,14 @@ operation of a certain feature. Assuming that the package is coded to check the value of the option, you still need to arrange for the package to be loaded. You can do that with @code{:require}. @xref{Common -Keywords}. Here is an example, from the library @file{tooltip.el}: +Keywords}. Here is an example, from the library @file{saveplace.el}: @example -(defcustom tooltip-mode nil - "Non-nil if Tooltip mode is enabled..." - :set (lambda (symbol value) - (tooltip-mode (or value 0))) - :initialize 'custom-initialize-default +(defcustom save-place nil + "*Non-nil means automatically save place in each file..." :type 'boolean - :require 'tooltip - :group 'tooltip) + :require 'saveplace + :group 'save-place) @end example If a customization item has a type such as @code{hook} or @code{alist},