Commit c9c9756d authored by Eli Zaretskii's avatar Eli Zaretskii

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)
parent ca208e83
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment