Fix last change to isearch-update (bug#23406)

* lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit
  nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit)
  ...) form.
This commit is contained in:
Leo Liu 2016-05-01 11:03:59 +08:00
parent b755d988b4
commit 16e5e8e4ea

View 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))