diff lisp/gnus/rfc2047.el @ 103027:25a15bc4c9bb

(rfc2047-decode-region): Don't skip past `start', which could happen if the text is only composed of spaces and/or tabs.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 20 Apr 2009 16:17:51 +0000
parents a9dc0e7c3f2b
children 79c2323377ac
line wrap: on
line diff
--- a/lisp/gnus/rfc2047.el	Mon Apr 20 03:19:19 2009 +0000
+++ b/lisp/gnus/rfc2047.el	Mon Apr 20 16:17:51 2009 +0000
@@ -1045,7 +1045,7 @@
 		(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) ?\")))