From 872c0ba8c9cc0c23c75748112142b1f1e1ef88e1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 5 Aug 2002 16:34:53 +0000 Subject: [PATCH] (select-safe-coding-system): Check for non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS. --- lisp/international/mule-cmds.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index c3d3aa8b142..1b59acdf67a 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -766,7 +766,7 @@ one of the following safe coding systems, or edit the buffer:\n") (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. -- 2.39.2