/[emacs]/emacs/lispref/customize.texi
ViewVC logotype

Diff of /emacs/lispref/customize.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.42 by rms, Tue Mar 8 03:06:04 2005 UTC revision 1.43 by nickrob, Mon Apr 18 08:21:21 2005 UTC
# Line 283  those other variables already have their Line 283  those other variables already have their
283  operation of a certain feature.  Assuming that the package is coded to  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  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  to be loaded.  You can do that with @code{:require}.  @xref{Common
286  Keywords}.  Here is an example, from the library @file{tooltip.el}:  Keywords}.  Here is an example, from the library @file{saveplace.el}:
287    
288  @example  @example
289  (defcustom tooltip-mode nil  (defcustom save-place nil
290    "Non-nil if Tooltip mode is enabled..."    "*Non-nil means automatically save place in each file..."
   :set (lambda (symbol value)  
          (tooltip-mode (or value 0)))  
   :initialize 'custom-initialize-default  
291    :type 'boolean    :type 'boolean
292    :require 'tooltip    :require 'saveplace
293    :group 'tooltip)    :group 'save-place)
294  @end example  @end example
295    
296  If a customization item has a type such as @code{hook} or @code{alist},  If a customization item has a type such as @code{hook} or @code{alist},

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26