diff options
| author | Nick Roberts | 2005-04-18 08:21:21 +0000 |
|---|---|---|
| committer | Nick Roberts | 2005-04-18 08:21:21 +0000 |
| commit | 1a60ceaead6ca2b2e15a1bc758ed54d2a032c3e3 (patch) | |
| tree | 9ce07272913a55eb30b54184b17843b922bc8a12 | |
| parent | 47872da9a5d49ec59785175e70c3904a4b44ca23 (diff) | |
| download | emacs-1a60ceaead6ca2b2e15a1bc758ed54d2a032c3e3.tar.gz emacs-1a60ceaead6ca2b2e15a1bc758ed54d2a032c3e3.zip | |
(Variable Definitions): Replace tooltip-mode
example with save-place.
| -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}, |