Synch to Gnus 200309020218.
authoryamaoka <yamaoka>
Tue, 2 Sep 2003 02:13:11 +0000 (02:13 +0000)
committeryamaoka <yamaoka>
Tue, 2 Sep 2003 02:13:11 +0000 (02:13 +0000)
lisp/ChangeLog
lisp/rfc2047.el

index cb283e9..db96494 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-02  Jesper Harder  <harder@ifa.au.dk>
+
+       * rfc2047.el (rfc2047-fold-region): Don't fold at the beginning
+       of the field.
+
 2003-09-01  Simon Josefsson  <jas@extundo.com>
 
        * mml.el (mml-insert-mime-headers-always): New variable.
index bf4328d..f22fc63 100644 (file)
@@ -492,7 +492,9 @@ By default, the region is treated as containing addresses (see
              (if (eq (char-after) ?=)
                  (forward-char 1)
                (skip-chars-forward "^ \t\n\r="))
-           (setq qword-break (point))
+           ;; Don't break at the start of the field.
+           (unless (= (point) b)
+             (setq qword-break (point)))
            (skip-chars-forward "^ \t\n\r")))
         (t
          (skip-chars-forward "^ \t\n\r"))))