Commit 902e3f77 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(select-safe-coding-system): If default-coding-system is no-conversion,

return that; it is always safe.
parent 55c3534b
......@@ -378,6 +378,7 @@ and TO is ignored."
(find-charset-region from to)))
(safe-coding-systems (find-coding-systems-for-charsets charsets)))
(if (or (eq (car safe-coding-systems) 'undecided)
(eq default-coding-system 'no-conversion)
(and default-coding-system
(memq (coding-system-base default-coding-system)
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