Commit 872c0ba8 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(select-safe-coding-system): Check for

non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
parent 6ed09cf0
......@@ -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 "")
(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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment