]> code.delx.au - gnu-emacs/commitdiff
Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
authorAlan Mackenzie <acm@muc.de>
Mon, 14 Dec 2015 17:29:45 +0000 (17:29 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 14 Dec 2015 17:29:45 +0000 (17:29 +0000)
* lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.

lisp/textmodes/ispell.el

index 1b26b4905a2ada1986cfadd80760bb383acef34f..3327028894c98adf2e779307497200aa872f6bda 100644 (file)
@@ -2861,6 +2861,7 @@ The variable `ispell-highlight-face' selects the face to use for highlighting."
                  (regexp-quote (buffer-substring-no-properties start end))
                  "\\b"))
                (isearch-regexp t)
+                (isearch-regexp-function nil)
                (isearch-case-fold-search nil)
                (isearch-forward t)
                (isearch-other-end start)