]> git.eshelyaron.com Git - emacs.git/commitdiff
(underline): Try bold if terminal doesn't support underline.
authorRichard M. Stallman <rms@gnu.org>
Fri, 17 Jun 2005 14:30:55 +0000 (14:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 17 Jun 2005 14:30:55 +0000 (14:30 +0000)
lisp/faces.el

index fcac684b3a1425510489a9cff792349b8b821240..dc94beb4aa6136a594a7a80783e2e1548de108f4 100644 (file)
@@ -2035,7 +2035,11 @@ Note: Other faces cannot inherit from the cursor face."
   :group 'basic-faces)
 
 
-(defface underline '((t :underline t))
+(defface underline '((((supports :underline t))
+                     :underline t)
+                    (((supports :weight bold))
+                     :weight bold)
+                    (t :underline t))
   "Basic underlined face."
   :group 'basic-faces)