diff options
| author | Stefan Monnier <monnier@iro.umontreal.ca> | 2026-05-18 18:47:47 -0400 |
|---|---|---|
| committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2026-05-18 18:47:47 -0400 |
| commit | 8095fbef7720d2c62b80743141483fc93d1d3534 (patch) | |
| tree | c2ad8837b7c955a2731af372ca7d3fe84ba0d325 /etc | |
| parent | 9436d92c5daae66d2be82544cb135d1356ba4ad1 (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/NEWS | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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). |
