1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

(ispell-skip-region): Don't complain when

ispell-check-comments is 'exclusive and there are no more
comments.  Just skip to the end instead.
This commit is contained in:
Karl Heuer 1998-06-20 21:37:14 +00:00
parent 9b27b20d21
commit 7a914d3e79

View file

@ -2059,7 +2059,7 @@ Return non-nil if not aborted."
(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))