changeset 31755:e3d01cb9b018

(info-header-node): Tweak for color ttys.
author Miles Bader <miles@gnu.org>
date Wed, 20 Sep 2000 08:44:46 +0000
parents 5c9c08a66da8
children 095cc7f7e024
files lisp/info.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Wed Sep 20 07:42:51 2000 +0000
+++ b/lisp/info.el	Wed Sep 20 08:44:46 2000 +0000
@@ -97,7 +97,11 @@
   :group 'info)
 
 (defface info-header-node
-  '((t (:inherit info-node)))
+  '(;; Because header-lines on tty's are usually reverse-video, the
+    ;; normal info-node colors probably won't look good, so just stick
+    ;; with bold-italic
+    (((type tty) (class color)) (:bold t :italic t))
+    (t (:inherit info-node)))
   "Face for Info nodes in a node header."
   :group 'info)