From: Kenichi Handa Date: Tue, 27 Jan 2009 04:49:33 +0000 (+0000) Subject: (rmail-get-coding-system): Fix previous change. X-Git-Tag: emacs-pretest-23.0.90~165 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b0c98f5508f532f29b1298e424058aa48295411;p=emacs.git (rmail-get-coding-system): Fix previous change. --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index a96b52b8602..4662c4c32a0 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -942,7 +942,7 @@ This function also reinitializes local variables used by Rmail." The buffer is expected to be narrowed to just the header of the message." (save-excursion (goto-char (point-min)) - (if (re-search-forward rmail-mime-charset-pattern) + (if (re-search-forward rmail-mime-charset-pattern nil t) (coding-system-from-name (match-string 1)) 'undecided)))