]> git.eshelyaron.com Git - emacs.git/commitdiff
(info-xref): Inherit from `link'.
authorJuri Linkov <juri@jurta.org>
Mon, 23 Jan 2006 01:19:35 +0000 (01:19 +0000)
committerJuri Linkov <juri@jurta.org>
Mon, 23 Jan 2006 01:19:35 +0000 (01:19 +0000)
(info-xref-visited): Inherit from `link-visited'.

lisp/info.el

index 61d5974107828b92fd461125d031745a8c16e870..912e31f62adb664cbe714be269fe80ac7e339e05 100644 (file)
@@ -129,21 +129,14 @@ The Lisp code is executed when the node is selected.")
 (put 'info-menu-5 'face-alias 'info-menu-star)
 
 (defface info-xref
-  '((((min-colors 88)
-      (class color) (background light)) :foreground "blue1" :underline t)
-    (((class color) (background light)) :foreground "blue" :underline t)
-    (((min-colors 88)
-      (class color) (background dark)) :foreground "cyan1" :underline t)
-    (((class color) (background dark)) :foreground "cyan" :underline t)
-    (t :underline t))
-  "Face for Info cross-references."
+  '((t :inherit link))
+  "Face for unvisited Info cross-references."
   :group 'info)
 
 (defface info-xref-visited
-  '((default :inherit info-xref)
-    (((class color) (background light)) :foreground "magenta4")
-    (((class color) (background dark)) :foreground "violet"))
+  '((t :inherit link-visited))
   "Face for visited Info cross-references."
+  :version "22.1"
   :group 'info)
 
 (defcustom Info-fontify-visited-nodes t