aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2025-02-22 18:04:04 +0200
committerEli Zaretskii2025-02-22 18:04:04 +0200
commit827a91dbf3a45d6c3c620545b5e620ce76e44bb2 (patch)
treeb45edd0381c08990766b9ac2b59918a20e6b24f0 /doc
parent8b6797fa01bf8c8c64bd1f72c1e2475bf2331ad9 (diff)
downloademacs-827a91dbf3a45d6c3c620545b5e620ce76e44bb2.tar.gz
emacs-827a91dbf3a45d6c3c620545b5e620ce76e44bb2.zip
Make 'text-property-default-nonsticky' buffer-local when set
* src/textprop.c (syms_of_textprop) <text-property-default-nonsticky>: Make buffer-local when set. (Bug#76445) * etc/symbol-releases.eld: Add text-property-default-nonsticky. * etc/NEWS: * doc/lispref/text.texi (Sticky Properties): Document the change.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/text.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index bada8bd734b..90aa45e8501 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -4135,10 +4135,10 @@ list, properties are rear-sticky @emph{unless} their names are in the
4135list. 4135list.
4136 4136
4137@defvar text-property-default-nonsticky 4137@defvar text-property-default-nonsticky
4138This variable holds an alist which defines the default rear-stickiness 4138This buffer-local variable holds an alist which defines the default
4139of various text properties. Each element has the form 4139rear-stickiness of various text properties in the buffer. Each element
4140@code{(@var{property} . @var{nonstickiness})}, and it defines the 4140has the form @code{(@var{property} . @var{nonstickiness})}, and it
4141stickiness of a particular text property, @var{property}. 4141defines the stickiness of a particular text property, @var{property}.
4142 4142
4143If @var{nonstickiness} is non-@code{nil}, this means that the property 4143If @var{nonstickiness} is non-@code{nil}, this means that the property
4144@var{property} is rear-nonsticky by default. Since all properties are 4144@var{property} is rear-nonsticky by default. Since all properties are