]> code.delx.au - gnu-emacs/commitdiff
Fix last change to isearch-update (bug#23406)
authorLeo Liu <sdl.web@gmail.com>
Sun, 1 May 2016 03:03:59 +0000 (11:03 +0800)
committerLeo Liu <sdl.web@gmail.com>
Sun, 1 May 2016 03:03:59 +0000 (11:03 +0800)
* lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit
  nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit)
  ...) form.

lisp/isearch.el

index 17b5ef14cb60feb839151165d88fd3915b6150ad..218c18a666e6d3cd995b8649c3f89a6e9f9233fe 100644 (file)
@@ -972,7 +972,6 @@ The last thing is to trigger a new round of lazy highlighting."
         (setq cursor-sensor-inhibit (delq 'isearch cursor-sensor-inhibit))))
     (setq isearch--current-buffer (current-buffer))
     (make-local-variable 'cursor-sensor-inhibit)
-    (setq cursor-sensor-inhibit nil)
     ;; Suspend things like cursor-intangible during Isearch so we can search
     ;; even within intangible text.
     (push 'isearch cursor-sensor-inhibit))