1 |
;;; xterm.el --- define function key sequences and standard colors for xterm |
;;; xterm.el --- define function key sequences and standard colors for xterm |
2 |
|
|
3 |
;; Copyright (C) 1995, 2002, 2004 Free Software Foundation, Inc. |
;; Copyright (C) 1995, 2002, 2004, 2005 Free Software Foundation, Inc. |
4 |
|
|
5 |
;; Author: FSF |
;; Author: FSF |
6 |
;; Keywords: terminals |
;; Keywords: terminals |
246 |
;; This recomputes all the default faces given the colors we've just set up. |
;; This recomputes all the default faces given the colors we've just set up. |
247 |
(tty-set-up-initial-frame-faces) |
(tty-set-up-initial-frame-faces) |
248 |
|
|
249 |
|
;; Mac OS X's Terminal.app sets TERM to "xterm-color" and by default uses |
250 |
|
;; utf-8 regardless of the locale. |
251 |
|
(when (equal (getenv "TERM_PROGRAM") "Apple_Terminal") |
252 |
|
(set-terminal-coding-system 'utf-8)) |
253 |
|
|
254 |
;; arch-tag: 12e7ebdd-1e6c-4b25-b0f9-35ace25e855a |
;; arch-tag: 12e7ebdd-1e6c-4b25-b0f9-35ace25e855a |
255 |
;;; xterm.el ends here |
;;; xterm.el ends here |