diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-12-07 20:59:00 +0100 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-12-07 20:59:41 +0100 |
commit | e6863595bf8a2d88c33d72aae9995561b8e269f1 (patch) | |
tree | 9c8817d1caf626f817eb9897770000a3bb50c35a /emacs | |
parent | 21b8518d20ae44e125e1a91459a9e968f86e82bd (diff) | |
download | dotfiles-e6863595bf8a2d88c33d72aae9995561b8e269f1.tar.xz |
emacs: fix 256 colors support in screen
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -36,6 +36,16 @@ ;; - http://www.brockman.se/software/zenburn/zenburn.el (color-theme-zenburn) +;; Support 256 colors in screen +;; - http://article.gmane.org/gmane.emacs.devel/109504/ +(if (not (window-system)) (load "term/rxvt")) +(defun terminal-init-screen () + "Terminal initialization function for screen." + ;; Use the rxvt color initialization code. + (rxvt-register-default-colors) + (tty-set-up-initial-frame-faces) +) + ;; Don't show the welcome message (setq inhibit-startup-screen t) @@ -173,7 +183,7 @@ (setq kill-read-only-ok 1) ;; Partially integrate the kill-ring and X cut-buffer -(setq x-select-enable-clipboard t) +;(setq x-select-enable-clipboard t) ;; Copy/paste with accentuation intact (setq selection-coding-system 'compound-text-with-extensions) |