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)
This commit is contained in:
Eli Zaretskii 2018-09-22 10:54:58 +03:00
parent ca208e8388
commit c9c9756d21

View file

@ -449,15 +449,14 @@ those other variables already have their intended values.
It is useful to specify the @code{:require} keyword for an option
that turns on a certain feature. This causes Emacs to load the
feature, if it is not already loaded, whenever the option is set.
@xref{Common Keywords}. Here is an example, from the library
@file{saveplace.el}:
@xref{Common Keywords}. Here is an example:
@example
(defcustom save-place nil
"Non-nil means automatically save place in each file..."
(defcustom frobnicate-automatically nil
"Non-nil means automatically frobnicate all buffers."
:type 'boolean
:require 'saveplace
:group 'save-place)
:require 'frobnicate-mode
:group 'frobnicate)
@end example
If a customization item has a type such as @code{hook} or