X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fcoding.el;h=d47e0a3162a89620e4f8cbd36b8b492419908f82;hb=e899a8eb731451c717d11a9f4b0d799e978714b3;hp=7a5856d8b63f53ce63c6c71634f6e8c3d3aae055;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git diff --git a/lisp/coding.el b/lisp/coding.el index 7a5856d..d47e0a3 100644 --- a/lisp/coding.el +++ b/lisp/coding.el @@ -115,7 +115,9 @@ or a function symbol which, when called, returns such a cons cell." (interactive "zterminal-coding-system: ") (get-coding-system coding-system) ; correctness check (setq terminal-coding-system coding-system) - (set-console-tty-coding-system (device-console) terminal-coding-system) + ; #### should this affect all current tty consoles ? + (if (eq (device-type) 'tty) + (set-console-tty-coding-system (device-console) terminal-coding-system)) (redraw-modeline t)) (defun set-pathname-coding-system (coding-system) @@ -204,8 +206,6 @@ Does not modify STR. Returns the encoded string on successful conversion." ;; compatibility for old XEmacsen (don't use it) (copy-coding-system 'undecided 'automatic-conversion) -(copy-coding-system 'no-conversion 'raw-text) - (make-compatible-variable 'enable-multibyte-characters "Unimplemented") (define-obsolete-variable-alias