summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-09-19 04:27:56 +0000
committerRichard M. Stallman <rms@gnu.org>1997-09-19 04:27:56 +0000
commit1c840db0a0ef1dd5c0ff336a7f21ace322056b5a (patch)
tree80d7d22f962a8ead80c114ca99dd2efcea35bc76 /lisp/mail
parent3a14e86a84eec69972153f040e9f62d0390610c3 (diff)
downloademacs-1c840db0a0ef1dd5c0ff336a7f21ace322056b5a.tar.gz
Fix previous change.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/mh-comp.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mail/mh-comp.el b/lisp/mail/mh-comp.el
index 9345575158f..fcf5a64d0ba 100644
--- a/lisp/mail/mh-comp.el
+++ b/lisp/mail/mh-comp.el
@@ -26,7 +26,7 @@
;;; Change Log:
-;; $Id: mh-comp.el,v 1.10 1997/04/29 01:36:06 rms Exp rms $
+;; $Id: mh-comp.el,v 1.11 1997/09/15 19:45:16 rms Exp rms $
;;; Code:
@@ -868,7 +868,11 @@ Run `mh-before-send-letter-hook' before actually doing anything."
(file-name buffer-file-name)
(config mh-previous-window-config)
(coding-system-for-write
- (if (local-variable-p 'buffer-file-coding-system)
+ (if (and (local-variable-p 'buffer-file-coding-system)
+ ;; We're not sure why, but buffer-file-coding-system
+ ;; tends to get set to undecided-unix.
+ (not (memq buffer-file-coding-system
+ '(undecided undecided-unix undecided-dos))))
buffer-file-coding-system
(or sendmail-coding-system
default-buffer-file-coding-system