mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
ispell.el (ispell-region): Reset in-comment' for new line instead of add-coment' (bug#13577).
This commit is contained in:
parent
02bf443d2e
commit
c6a0b8eb25
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue