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 80f0f81..6a9f108 100644 (file)
@@ -875,6 +875,9 @@ doesn't match any of the regular expressions in
   (((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