aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1998-06-20 21:37:14 +0000
committerKarl Heuer1998-06-20 21:37:14 +0000
commit7a914d3e79134444817aa552d707f9e286b2c26d (patch)
treed4aa7a146cf1caa66b1e8f7e6b9682966caf9b9b
parent9b27b20d214538d6f903626ced7ee9b7f3a01331 (diff)
downloademacs-7a914d3e79134444817aa552d707f9e286b2c26d.tar.gz
emacs-7a914d3e79134444817aa552d707f9e286b2c26d.zip
(ispell-skip-region): Don't complain when
ispell-check-comments is 'exclusive and there are no more comments. Just skip to the end instead.
-rw-r--r--lisp/textmodes/ispell.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index ab77a6ceab1..080c221a48e 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -2059,7 +2059,7 @@ Return non-nil if not aborted."
2059 (search-forward comment-end ispell-region-end t))) 2059 (search-forward comment-end ispell-region-end t)))
2060 ((and (eq 'exclusive ispell-check-comments) comment-start 2060 ((and (eq 'exclusive ispell-check-comments) comment-start
2061 (string= key comment-end)) 2061 (string= key comment-end))
2062 (search-forward comment-start ispell-region-end t)) 2062 (search-forward comment-start ispell-region-end :end))
2063 ((and ispell-skip-tib (string-match ispell-tib-ref-beginning key)) 2063 ((and ispell-skip-tib (string-match ispell-tib-ref-beginning key))
2064 (re-search-forward ispell-tib-ref-end ispell-region-end t)) 2064 (re-search-forward ispell-tib-ref-end ispell-region-end t))
2065 ((and ispell-skip-sgml (string-match "<" key)) 2065 ((and ispell-skip-sgml (string-match "<" key))