Commit c6a0b8eb authored by Agustín Martín's avatar Agustín Martín
Browse files

ispell.el (ispell-region): Reset `in-comment' for new line instead of `add-coment' (bug#13577).

parent 02bf443d
2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
* ispell.el (ispell-region): Reset `in-comment' for new line
instead of wrongly reset `add-coment' (bug#13577).
2014-01-14 Daiki Ueno <ueno@gnu.org>
* epa-file.el (epa-file-write-region): Encode the region according
......
......@@ -3305,7 +3305,8 @@ ispell-region: Search for first region to skip after (ispell-begin-skip-region-r
ispell-start ispell-end (point-at-eol) in-comment add-comment string)
(if add-comment ; account for comment chars added
(setq ispell-start (- ispell-start (length add-comment))
add-comment nil))
;; Reset `in-comment' (and indirectly `add-comment') for new line
in-comment nil))
(setq ispell-end (point)) ; "end" tracks region retrieved.
(if string ; there is something to spell check!
;; (special start end)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment