Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c6a0b8eb
Commit
c6a0b8eb
authored
Jan 14, 2014
by
Agustín Martín
Browse files
ispell.el (ispell-region): Reset `in-comment' for new line instead of `add-coment' (bug#13577).
parent
02bf443d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/textmodes/ispell.el
lisp/textmodes/ispell.el
+2
-1
No files found.
lisp/ChangeLog
View file @
c6a0b8eb
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
...
...
lisp/textmodes/ispell.el
View file @
c6a0b8eb
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment