summaryrefslogtreecommitdiff
path: root/doc/lispref/text.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-25 14:23:56 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-25 14:23:56 +0200
commitce79fe451d845c09e5502071f9af9845eb930885 (patch)
tree055c90b297d2525b9d031a2f2c59a40d3c5ea983 /doc/lispref/text.texi
parent0a79e28891ec7394547358207a8213a7c457a592 (diff)
downloademacs-ce79fe451d845c09e5502071f9af9845eb930885.tar.gz
Make yank-transform-functions into defvar
* doc/lispref/text.texi (Yanking): Adjust. * lisp/simple.el (yank-transform-functions): Make into defvar because it's not that useful as a user option.
Diffstat (limited to 'doc/lispref/text.texi')
-rw-r--r--doc/lispref/text.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 4439bc48658..622f03d2a85 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -1111,7 +1111,7 @@ or specifying key bindings. It takes effect after
@code{yank-handled-properties}.
@end defopt
-@defopt yank-transform-functions
+@defvar yank-transform-functions
This variable is a list of functions. Each function is called (in
order) with the string to be yanked as the argument, and should
return a (possibly transformed) string. This variable can be set
@@ -1127,7 +1127,7 @@ could say something like:
'(string-clean-whitespace)))
(call-interactively #'yank)))
@end lisp
-@end defopt
+@end defvar
@node Yank Commands
@subsection Functions for Yanking