aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2018-09-22 10:54:58 +0300
committerEli Zaretskii2018-09-22 10:54:58 +0300
commitc9c9756d21d19da8b7c265c1e9d6766e42ccfbfe (patch)
treeeded66c12d89510c130d3a01d6d479d68bf3fa8d
parentca208e83885db25569d1096a7925babb9940ecdd (diff)
downloademacs-c9c9756d21d19da8b7c265c1e9d6766e42ccfbfe.tar.gz
emacs-c9c9756d21d19da8b7c265c1e9d6766e42ccfbfe.zip
Don't use obsolete variable 'save-place' in documentation
* doc/lispref/customize.texi (Variable Definitions): Replace example of saveplace defcustom with a fictitious one, which will not bit-rot with time. (Bug#32741)
-rw-r--r--doc/lispref/customize.texi11
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi
index b3528b12d57..1cc7cb65b5f 100644
--- a/doc/lispref/customize.texi
+++ b/doc/lispref/customize.texi
@@ -449,15 +449,14 @@ those other variables already have their intended values.
449 It is useful to specify the @code{:require} keyword for an option 449 It is useful to specify the @code{:require} keyword for an option
450that turns on a certain feature. This causes Emacs to load the 450that turns on a certain feature. This causes Emacs to load the
451feature, if it is not already loaded, whenever the option is set. 451feature, if it is not already loaded, whenever the option is set.
452@xref{Common Keywords}. Here is an example, from the library 452@xref{Common Keywords}. Here is an example:
453@file{saveplace.el}:
454 453
455@example 454@example
456(defcustom save-place nil 455(defcustom frobnicate-automatically nil
457 "Non-nil means automatically save place in each file..." 456 "Non-nil means automatically frobnicate all buffers."
458 :type 'boolean 457 :type 'boolean
459 :require 'saveplace 458 :require 'frobnicate-mode
460 :group 'save-place) 459 :group 'frobnicate)
461@end example 460@end example
462 461
463If a customization item has a type such as @code{hook} or 462If a customization item has a type such as @code{hook} or