summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2000-09-20 08:44:46 +0000
committerMiles Bader <miles@gnu.org>2000-09-20 08:44:46 +0000
commit8cc4cac1977bde2560da3642c24e394b77e15b1b (patch)
tree04893a9aade17cbfccd93ea558e97473f912c39d /lisp/info.el
parent37a99821999c7198aeff9bb68b159c3e5fcf1b60 (diff)
downloademacs-8cc4cac1977bde2560da3642c24e394b77e15b1b.tar.gz
(info-header-node): Tweak for color ttys.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 28ec2ca5e98..156363efdc9 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -97,7 +97,11 @@ A header-line does not scroll with the rest of the buffer."
: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)