chiark / gitweb /
dot-emacs: Make the region show up in terminals.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 7 May 2008 17:33:11 +0000 (18:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 7 May 2008 17:33:11 +0000 (18:33 +0100)
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.

dot-emacs.el

index 789de88dfb90c52606c38c354d09e5f8b64789cc..1d550d308f82780c67d281fe5e09c563b33e2e4a 100644 (file)
@@ -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")