+2014-01-10 K. Handa <handa@gnu.org>
+
+ * mail/rmail.el (rmail-get-coding-system): Check
+ rmail-get-coding-function before "funcall"ing it.
+
2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
* simple.el (deactivate-mark, activate-mark): Force-mode-line-update
The buffer is expected to be narrowed to just the header of the message."
(save-excursion
(goto-char (point-min))
- (or (funcall rmail-get-coding-function)
+ (or (if rmail-get-coding-function
+ (funcall rmail-get-coding-function))
(if (re-search-forward rmail-mime-charset-pattern nil t)
(coding-system-from-name (match-string 1))
'undecided))))