aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/cursor-sensor.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cursor-sensor.el b/lisp/emacs-lisp/cursor-sensor.el
index 2231179de1c..28b61880d0a 100644
--- a/lisp/emacs-lisp/cursor-sensor.el
+++ b/lisp/emacs-lisp/cursor-sensor.el
@@ -114,7 +114,7 @@
114 ;; non-sticky on both ends, but that means get-pos-property might 114 ;; non-sticky on both ends, but that means get-pos-property might
115 ;; never see it. 115 ;; never see it.
116 (new (or (get-char-property point 'cursor-sensor-functions) 116 (new (or (get-char-property point 'cursor-sensor-functions)
117 (unless (bobp) 117 (unless (<= (point-min) point)
118 (get-char-property (1- point) 'cursor-sensor-functions)))) 118 (get-char-property (1- point) 'cursor-sensor-functions))))
119 (old (window-parameter window 'cursor-sensor--last-state)) 119 (old (window-parameter window 'cursor-sensor--last-state))
120 (oldposmark (car old)) 120 (oldposmark (car old))