[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/customize.texi
From: |
Nick Roberts |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/customize.texi |
Date: |
Mon, 18 Apr 2005 04:21:21 -0400 |
Index: emacs/lispref/customize.texi
diff -c emacs/lispref/customize.texi:1.42 emacs/lispref/customize.texi:1.43
*** emacs/lispref/customize.texi:1.42 Tue Mar 8 03:06:04 2005
--- emacs/lispref/customize.texi Mon Apr 18 08:21:21 2005
***************
*** 283,299 ****
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}:
@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
:type 'boolean
! :require 'tooltip
! :group 'tooltip)
@end example
If a customization item has a type such as @code{hook} or @code{alist},
--- 283,296 ----
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{saveplace.el}:
@example
! (defcustom save-place nil
! "*Non-nil means automatically save place in each file..."
:type 'boolean
! :require 'saveplace
! :group 'save-place)
@end example
If a customization item has a type such as @code{hook} or @code{alist},
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/customize.texi,
Nick Roberts <=