el/dot-emacs.el: Show italic characters in manpages correctly where possible.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 28 Mar 2020 16:06:35 +0000 (16:06 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 28 Mar 2020 16:06:35 +0000 (16:06 +0000)
They're still underlined in terminals where I don't expect italic
rendering to work.

el/dot-emacs.el

index 68a4d9f..a9e2d72 100644 (file)
@@ -1452,6 +1452,10 @@ doesn't match any of the regular expressions in
 (mdw-define-face comint-highlight-input
   (t nil))
 
+(mdw-define-face Man-underline
+  (((type tty)) :underline t)
+  (t :slant italic))
+
 (mdw-define-face ido-subdir
   (t :foreground "cyan" :weight bold))