From: Mark Wooding Date: Wed, 7 May 2008 17:33:11 +0000 (+0100) Subject: dot-emacs: Make the region show up in terminals. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/be0487190c495f4a890a5c57e67c0b450babfb09?ds=sidebyside;hp=-c dot-emacs: Make the region show up in terminals. This is ugly, but at least it makes the region visible. This is valuable for keystrokes like C-M-SPC, and M-h and C-M-h which incrementally extend the region. --- be0487190c495f4a890a5c57e67c0b450babfb09 diff --git a/dot-emacs.el b/dot-emacs.el index 789de88..1d550d3 100644 --- a/dot-emacs.el +++ b/dot-emacs.el @@ -642,7 +642,7 @@ (default :foreground "white" :background "black" (comint-highlight-input) (font-lock-builtin-face :weight bold) (font-lock-type-face :weight bold) - (region :background "grey30") + (region :background ,(if window-system "grey30" "blue")) (isearch :background "palevioletred2") (mdw-punct-face :foreground ,(if window-system "burlywood2" "yellow")) (mdw-number-face :foreground "yellow")