diff options
Diffstat (limited to 'lisp/international/mule-cmds.el')
| -rw-r--r-- | lisp/international/mule-cmds.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index cbe548c2ccf..378cbc9badd 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -418,7 +418,10 @@ To prefer, for instance, utf-8, say the following: | |||
| 418 | (if (memq eol-type '(0 1 2)) | 418 | (if (memq eol-type '(0 1 2)) |
| 419 | (setq base | 419 | (setq base |
| 420 | (coding-system-change-eol-conversion base eol-type))) | 420 | (coding-system-change-eol-conversion base eol-type))) |
| 421 | (set-default-coding-systems base))) | 421 | (set-default-coding-systems base) |
| 422 | (if (called-interactively-p 'interactive) | ||
| 423 | (or (eq base default-file-name-coding-system) | ||
| 424 | (message "The default value of `file-name-coding-system' was not changed because the specified coding system is not suitable for file names."))))) | ||
| 422 | 425 | ||
| 423 | (defvar sort-coding-systems-predicate nil | 426 | (defvar sort-coding-systems-predicate nil |
| 424 | "If non-nil, a predicate function to sort coding systems. | 427 | "If non-nil, a predicate function to sort coding systems. |