1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

(rfc2047-decode-region): Don't skip past `start', which

could happen if the text is only composed of spaces and/or tabs.
This commit is contained in:
Stefan Monnier 2009-04-20 16:17:51 +00:00
parent 9dfda22f23
commit 1dbc941a59
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
* rfc2047.el (rfc2047-decode-region): Don't skip past `start', which
could happen if the text is only composed of spaces and/or tabs.
2009-03-03 Brian Sniffen <bts@evenmere.org> (tiny change)
* gnus-draft.el (gnus-draft-send): Bind gnus-message-setup-hook to nil

View File

@ -1045,7 +1045,7 @@ other than `\"' and `\\' in quoted strings."
(setq start (point))
(setq quoted (eq (char-after) ?\"))
(goto-char (point-max))
(skip-chars-backward " \t")
(skip-chars-backward " \t" start)
(if (setq quoted (and quoted
(> (point) (1+ start))
(eq (char-before) ?\")))