summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2026-05-18 18:47:47 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2026-05-18 18:47:47 -0400
commit8095fbef7720d2c62b80743141483fc93d1d3534 (patch)
treec2ad8837b7c955a2731af372ca7d3fe84ba0d325 /etc
parent9436d92c5daae66d2be82544cb135d1356ba4ad1 (diff)
doc/lispref/text.texi: Add complement to commit f4a1c006569f
* doc/lispref/text.texi (Examining Properties): Mention the change in cursor-sensor-functions.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index a746ca7b1a3..3021ad42a12 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3988,6 +3988,21 @@ all versions, sleep events require Windows 8 or later).
* Incompatible Lisp Changes in Emacs 31.1
+++
+** Boundaries of 'cursor-sensor-functions' now obey stickiness.
+'cursor-sensor-mode' now uses 'get-pos-property' to decide whether a
+boundary is considered as inside or outside.
+
+This means that by default, the boundaries have changed: the end
+position of a stretch of a 'cursor-sensor-functions' text property
+used to be considered outside of the stretch whereas it is now
+considered as inside. You can recover the previous behavior by
+controlling the stickiness, for example with a call like:
+
+ (add-text-properties BEG END
+ '(cursor-sensor-functions (MY-FUNCTION)
+ rear-nonsticky (cursor-sensor-functions)))
+
++++
** 'makunbound' on a variable alias undoes the alias.
Previously, it had the effect of applying the 'makunbound' on the
target of the alias (which can fail on some builtin variables).