summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-02-22 09:13:05 -0800
committerGlenn Morris <rgm@gnu.org>2013-02-22 09:13:05 -0800
commitbba90ab24e80476efcad6b6a770fd5fda522a621 (patch)
tree73bc6cb08174ab2e568c6cf2f642a73895634ed3 /lisp/textmodes
parentd78cf5edf9b4aebfc6a5821d88ba1ee3eb00aebb (diff)
parentcee1a690ee32abe67ef2d43fb9a9ad9f792de405 (diff)
downloademacs-bba90ab24e80476efcad6b6a770fd5fda522a621.tar.gz
Merge from emacs-24; up to 2012-12-22T02:59:08Z!cyd@gnu.org
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index dbcf3910db8..50a10dba9a2 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -2602,7 +2602,10 @@ 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-case-fold-search nil))
+ (isearch-case-fold-search nil)
+ (isearch-forward t)
+ (isearch-other-end start)
+ (isearch-error nil))
(isearch-lazy-highlight-new-loop
(if (boundp 'reg-start) reg-start)
(if (boundp 'reg-end) reg-end)))