# HG changeset patch # User Karl Heuer # Date 898378634 0 # Node ID 56bcedfdbe83f250beda1b91d0099b5295b66b75 # Parent 3dade37fd85d39c25eaf12e2f79791465cf87aa6 (ispell-skip-region): Don't complain when ispell-check-comments is 'exclusive and there are no more comments. Just skip to the end instead. diff -r 3dade37fd85d -r 56bcedfdbe83 lisp/textmodes/ispell.el --- a/lisp/textmodes/ispell.el Sat Jun 20 03:01:00 1998 +0000 +++ b/lisp/textmodes/ispell.el Sat Jun 20 21:37:14 1998 +0000 @@ -2059,7 +2059,7 @@ (search-forward comment-end ispell-region-end t))) ((and (eq 'exclusive ispell-check-comments) comment-start (string= key comment-end)) - (search-forward comment-start ispell-region-end t)) + (search-forward comment-start ispell-region-end :end)) ((and ispell-skip-tib (string-match ispell-tib-ref-beginning key)) (re-search-forward ispell-tib-ref-end ispell-region-end t)) ((and ispell-skip-sgml (string-match "<" key))