emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/term/xterm.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/term/xterm.el
Date: Thu, 24 Mar 2005 12:18:46 -0500

Index: emacs/lisp/term/xterm.el
diff -c emacs/lisp/term/xterm.el:1.8 emacs/lisp/term/xterm.el:1.9
*** emacs/lisp/term/xterm.el:1.8        Wed Sep  8 02:41:53 2004
--- emacs/lisp/term/xterm.el    Thu Mar 24 17:18:46 2005
***************
*** 1,6 ****
  ;;; xterm.el --- define function key sequences and standard colors for xterm
  
! ;; Copyright (C) 1995, 2002, 2004  Free Software Foundation, Inc.
  
  ;; Author: FSF
  ;; Keywords: terminals
--- 1,6 ----
  ;;; xterm.el --- define function key sequences and standard colors for xterm
  
! ;; Copyright (C) 1995, 2002, 2004, 2005  Free Software Foundation, Inc.
  
  ;; Author: FSF
  ;; Keywords: terminals
***************
*** 246,250 ****
--- 246,255 ----
  ;; This recomputes all the default faces given the colors we've just set up.
  (tty-set-up-initial-frame-faces)
  
+ ;; Mac OS X's Terminal.app 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]