diff options
| author | Robert Pluim | 2024-09-25 15:49:53 +0200 |
|---|---|---|
| committer | Robert Pluim | 2024-10-11 12:14:42 +0200 |
| commit | 08ee074a6f140a82e327fba446c05c96fe64932c (patch) | |
| tree | da9447f26ae94d7f7e4b4de7d65eb6026f095c85 /doc | |
| parent | e44f98b71bfd1f93d9b443a34e01a523ec34d3bb (diff) | |
| download | emacs-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.texi | 5 |
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 | ||
| 7972 | This function removes all buttons between @var{start} and @var{end} in | ||
| 7973 | the 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 |