aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRobert Pluim2024-09-25 15:49:53 +0200
committerRobert Pluim2024-10-11 12:14:42 +0200
commit08ee074a6f140a82e327fba446c05c96fe64932c (patch)
treeda9447f26ae94d7f7e4b4de7d65eb6026f095c85 /doc
parente44f98b71bfd1f93d9b443a34e01a523ec34d3bb (diff)
downloademacs-08ee074a6f140a82e327fba446c05c96fe64932c.tar.gz
emacs-08ee074a6f140a82e327fba446c05c96fe64932c.zip
Add unbuttonize-region
* doc/lispref/display.texi (Making Buttons): Document it. * lisp/button.el (unbuttonize-region): New function, removes all buttons in the specified region.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/display.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 1948854003d..f877a6a5a27 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -7968,6 +7968,11 @@ between @var{start} and @var{end} into a button. Arguments
7968@code{help-echo} property of the button. 7968@code{help-echo} property of the button.
7969@end defun 7969@end defun
7970 7970
7971@defun unbuttonize-region start end
7972This function removes all buttons between @var{start} and @var{end} in
7973the current buffer (both overlay and text-property based ones).
7974@end defun
7975
7971@node Manipulating Buttons 7976@node Manipulating Buttons
7972@subsection Manipulating Buttons 7977@subsection Manipulating Buttons
7973@cindex manipulating buttons 7978@cindex manipulating buttons