]> code.delx.au - gnu-emacs/commit
Fix (args-out-of-range 1) error in cursor-sensor--detect
authorLeo Liu <sdl.web@gmail.com>
Mon, 21 Mar 2016 10:26:10 +0000 (18:26 +0800)
committerLeo Liu <sdl.web@gmail.com>
Mon, 21 Mar 2016 10:26:40 +0000 (18:26 +0800)
commit76ef52267cf887e3e1aa6d25b3b16dd0601dd459
tree58a41a48cc98b072571c5c8feb61507ba8e16875
parent8a35f83c6c2ce602ee4d1e54c64067c851a2a43f
Fix (args-out-of-range 1) error in cursor-sensor--detect

* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
  hard-code (point-min) as 1 which fails in narrowed buffers.
lisp/emacs-lisp/cursor-sensor.el