diff options
| -rw-r--r-- | lispref/customize.texi | 13 |
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. | |||
| 283 | operation of a certain feature. Assuming that the package is coded to | 283 | operation of a certain feature. Assuming that the package is coded to |
| 284 | check the value of the option, you still need to arrange for the package | 284 | check the value of the option, you still need to arrange for the package |
| 285 | to be loaded. You can do that with @code{:require}. @xref{Common | 285 | to be loaded. You can do that with @code{:require}. @xref{Common |
| 286 | Keywords}. Here is an example, from the library @file{tooltip.el}: | 286 | Keywords}. 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 | ||
| 299 | If a customization item has a type such as @code{hook} or @code{alist}, | 296 | If a customization item has a type such as @code{hook} or @code{alist}, |