diff lisp/international/mule-cmds.el @ 46816:5459421e4351

(select-safe-coding-system): Check for non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
author Richard M. Stallman <rms@gnu.org>
date Mon, 05 Aug 2002 16:34:53 +0000
parents 703592d3b794
children fb00e3e4754d
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Mon Aug 05 16:33:44 2002 +0000
+++ b/lisp/international/mule-cmds.el	Mon Aug 05 16:34:53 2002 +0000
@@ -766,7 +766,7 @@
 			 (goto-char (point-min))
 			 (set-auto-coding (or file buffer-file-name "")
 					  (buffer-size))))))
-	(if (and auto-cs
+	(if (and auto-cs coding-system
 		 ;; Don't barf if writing a compressed file, say.
 		 ;; This check perhaps isn't ideal, but is probably
 		 ;; the best thing to do.