summaryrefslogtreecommitdiff
path: root/lisp/textmodes/ispell.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2015-12-14 17:29:45 +0000
committerAlan Mackenzie <acm@muc.de>2015-12-14 17:29:45 +0000
commit16dac3f9af08ba5591f7dd06efe99a3f6b2d3965 (patch)
treedff94ba1747661528facc9dfe7cafc6aee569ca5 /lisp/textmodes/ispell.el
parent9ae19d2f0d757db73dee35b7e675810dab7bcb37 (diff)
downloademacs-16dac3f9af08ba5591f7dd06efe99a3f6b2d3965.tar.gz
Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
* lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
Diffstat (limited to 'lisp/textmodes/ispell.el')
-rw-r--r--lisp/textmodes/ispell.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 1b26b4905a2..3327028894c 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -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)