chiark / gitweb /
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 68a4d9f4a3e9f64b847e765db35fe0add519f176..a9e2d72668e12c9f53f2902b2f341706395114e0 100644 (file)
@@ -1452,6 +1452,10 @@ (mdw-define-face comint-highlight-prompt
 (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))