2001-10-30 23:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
+ * message.el (message-get-reply-headers): Make sure there is ", ".
+
* mm-util.el (mm-mime-mule-charset-alist): Move down and call
mm-coding-system-p. Don't correct it only in XEmacs.
(mm-charset-to-coding-system): Use mm-coding-system-p and
(if to (setq recipients (concat recipients ", " to)))
(if cc (setq recipients (concat recipients ", " cc)))
(if mct (setq recipients (concat recipients ", " mct)))))
- ;; Strip the leading ", ".
- (setq recipients (substring recipients 2))
+ (if (>= (length recipients) 2)
+ ;; Strip the leading ", ".
+ (setq recipients (substring recipients 2)))
;; Squeeze whitespace.
(while (string-match "[ \t][ \t]+" recipients)
(setq recipients (replace-match " " t t recipients)))