Mercurial > emacs
changeset 22526:56bcedfdbe83
(ispell-skip-region): Don't complain when
ispell-check-comments is 'exclusive and there are no more
comments. Just skip to the end instead.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 20 Jun 1998 21:37:14 +0000 |
parents | 3dade37fd85d |
children | 1b3491492aae |
files | lisp/textmodes/ispell.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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))