Commit 71784361 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

international/mule-cmds.el (prefer-coding-system): Show a warning message if...

international/mule-cmds.el (prefer-coding-system): Show a warning message if the default value of file-name-coding-system was not changed.
parent 9858f6c3
2011-12-30 Kenichi Handa <handa@m17n.org>
* international/mule-cmds.el (prefer-coding-system): Show a
warning message if the default value of file-name-coding-system
was not changed.
2011-12-29 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
......
......@@ -418,7 +418,10 @@ To prefer, for instance, utf-8, say the following:
(if (memq eol-type '(0 1 2))
(setq base
(coding-system-change-eol-conversion base eol-type)))
(set-default-coding-systems base)))
(set-default-coding-systems base)
(if (called-interactively-p 'interactive)
(or (eq base default-file-name-coding-system)
(message "The default value of `file-name-coding-system' was not changed because the specified coding system is not suitable for file names.")))))
(defvar sort-coding-systems-predicate nil
"If non-nil, a predicate function to sort coding systems.
......
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