Commit 3ac3dd4f authored by Stefan Monnier's avatar Stefan Monnier
Browse files

If running in set coding-system to utf-8.

parent 0fa1a6b8
;;; xterm.el --- define function key sequences and standard colors for xterm
;; Copyright (C) 1995, 2002, 2004 Free Software Foundation, Inc.
;; Copyright (C) 1995, 2002, 2004, 2005 Free Software Foundation, Inc.
;; Author: FSF
;; Keywords: terminals
......@@ -246,5 +246,10 @@ versions of xterm."
;; This recomputes all the default faces given the colors we've just set up.
;; Mac OS X's sets TERM to "xterm-color" and by default uses
;; utf-8 regardless of the locale.
(when (equal (getenv "TERM_PROGRAM") "Apple_Terminal")
(set-terminal-coding-system 'utf-8))
;; arch-tag: 12e7ebdd-1e6c-4b25-b0f9-35ace25e855a
;;; xterm.el ends here
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