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:
parent
9b27b20d21
commit
7a914d3e79
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue