mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Avoid signaling errors in 'cursor-face-highlight-mode'
* lisp/simple.el (redisplay--update-cursor-face-highlight): Don't go beyond the accessible portion of the buffer. (Bug#77747)
This commit is contained in:
parent
ec8075219d
commit
f7aad714d2
1 changed files with 1 additions and 1 deletions
|
|
@ -7265,7 +7265,7 @@ This variable is similar to `highlight-nonselected-windows'."
|
|||
(pt (window-point window))
|
||||
(cursor-face (get-text-property pt 'cursor-face)))
|
||||
(let* ((start (previous-single-property-change
|
||||
(1+ pt) 'cursor-face nil (point-min)))
|
||||
(min (1+ pt) (point-max)) 'cursor-face nil (point-min)))
|
||||
(end (next-single-property-change
|
||||
pt 'cursor-face nil (point-max)))
|
||||
(new (redisplay--highlight-overlay-function
|
||||
|
|
|
|||
Loading…
Reference in a new issue