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