changeset 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 52f36f4b0e4f
children fb2254910fb6
files lisp/international/mule-cmds.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.