chiark / gitweb /
el/dot-emacs.el: Make non-breaking spaces less ugly in terminals.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 9 Jan 2014 08:51:12 +0000 (08:51 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 9 Jan 2014 08:56:50 +0000 (08:56 +0000)
It's especially nasty in `w3m' buffers, and doesn't seem especially
useful elsewhere.  Maybe I'll fix this to be different in `w3m' if I see
the need.

el/dot-emacs.el

index 80f0f811f7d224a19b7d289c4debf1841f0c9bec..6a9f108895561e48d80146da9b2d584b392c6118 100644 (file)
@@ -875,6 +875,9 @@ (mdw-define-face mode-line-inactive
   (((class color)) :foreground "yellow" :background "blue"
                   :box (:line-width 1 :style released-button))
   (t :inverse-video t))
+(mdw-define-face nobreak-space
+  (((type tty)))
+  (t :inherit escape-glyph :underline t))
 (mdw-define-face scroll-bar
   (t :foreground "black" :background "lightgrey"))
 (mdw-define-face fringe