diff options
| author | Eli Zaretskii | 2025-02-22 18:04:04 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-02-22 18:04:04 +0200 |
| commit | 827a91dbf3a45d6c3c620545b5e620ce76e44bb2 (patch) | |
| tree | b45edd0381c08990766b9ac2b59918a20e6b24f0 /doc | |
| parent | 8b6797fa01bf8c8c64bd1f72c1e2475bf2331ad9 (diff) | |
| download | emacs-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.texi | 8 |
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 | |||
| 4135 | list. | 4135 | list. |
| 4136 | 4136 | ||
| 4137 | @defvar text-property-default-nonsticky | 4137 | @defvar text-property-default-nonsticky |
| 4138 | This variable holds an alist which defines the default rear-stickiness | 4138 | This buffer-local variable holds an alist which defines the default |
| 4139 | of various text properties. Each element has the form | 4139 | rear-stickiness of various text properties in the buffer. Each element |
| 4140 | @code{(@var{property} . @var{nonstickiness})}, and it defines the | 4140 | has the form @code{(@var{property} . @var{nonstickiness})}, and it |
| 4141 | stickiness of a particular text property, @var{property}. | 4141 | defines the stickiness of a particular text property, @var{property}. |
| 4142 | 4142 | ||
| 4143 | If @var{nonstickiness} is non-@code{nil}, this means that the property | 4143 | If @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 |