Commit 701414e3 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(set-file-name-coding-system): New function.

parent 2308d0d7
......@@ -1204,6 +1204,14 @@ usual for visiting a file."
(let ((coding-system-for-read coding-system))
(defun set-file-name-coding-system (coding-system)
"Set coding system for decoding and encoding file names to CODING-SYSTEM.
It actually just set the variable `file-name-coding-system' (which
(interactive "zCoding system for file names (default, nil): ")
(check-coding-system coding-system)
(setq file-name-coding-system coding-system))
(defvar default-terminal-coding-system nil
"Default value for the terminal coding system.
This is normally set according to the selected language environment.
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