(message-tokenize-header): Fix 2004-09-06 change which used point-min in the
authorKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 13 Oct 2004 07:31:14 +0000 (07:31 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 13 Oct 2004 07:31:14 +0000 (07:31 +0000)
 wrong place.

lisp/ChangeLog
lisp/message.el

index ae1ea5a..efdb3f5 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-13  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * message.el (message-tokenize-header): Fix 2004-09-06 change
+       which used point-min in the wrong place.
+
 2004-10-12  Simon Josefsson  <jas@extundo.com>
 
        * net/tls.el (tls-certtool-program): New variable.
index 72a6f4a..7f3dbfd 100644 (file)
@@ -1627,11 +1627,11 @@ is used by default."
   (if (not header)
       nil
     (let ((regexp (format "[%s]+" (or separator ",")))
-         (beg (point-min))
          (first t)
-         quoted elems paren)
+         beg quoted elems paren)
       (with-temp-buffer
        (mm-enable-multibyte)
+       (setq beg (point-min))
        (insert header)
        (goto-char (point-min))
        (while (not (eobp))