diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-04-21 20:54:19 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-04-21 20:54:19 +0000 |
commit | 508bce68ce731a3fc348f549398e0a0a2093ac84 (patch) | |
tree | 81745dd1c1914b4eca319dd4e592e623a1ba2359 /lisp/info.el | |
parent | 780b142e2da585a583a7a4008dc4a615d96d8145 (diff) | |
download | emacs-508bce68ce731a3fc348f549398e0a0a2093ac84.tar.gz |
(info-node, info-menu-5, info-xref, info-header-node)
(Info-title-1-face, Info-title-2-face, Info-title-3-face)
(Info-title-4-face): Use new syntax.
(info-xref-visited): Inherit from info-xref.
Diffstat (limited to 'lisp/info.el')
-rw-r--r-- | lisp/info.el | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/lisp/info.el b/lisp/info.el index dd78e86cb3a..fa5556385d9 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -66,29 +66,29 @@ The Lisp code is executed when the node is selected.") (put 'Info-enable-active-nodes 'risky-local-variable t) (defface info-node - '((((class color) (background light)) (:foreground "brown" :weight bold :slant italic)) - (((class color) (background dark)) (:foreground "white" :weight bold :slant italic)) - (t (:weight bold :slant italic))) + '((((class color) (background light)) :foreground "brown" :weight bold :slant italic) + (((class color) (background dark)) :foreground "white" :weight bold :slant italic) + (t :weight bold :slant italic)) "Face for Info node names." :group 'info) (defface info-menu-5 - '((((class color)) (:foreground "red1")) - (t (:underline t))) + '((((class color)) :foreground "red1") + (t :underline t)) "Face for every third `*' in an Info menu." :group 'info) (defface info-xref - '((((class color) (background light)) (:foreground "blue")) - (((class color) (background dark)) (:foreground "cyan")) - (t (:underline t))) + '((((class color) (background light)) :foreground "blue") + (((class color) (background dark)) :foreground "cyan") + (t :underline t)) "Face for Info cross-references." :group 'info) (defface info-xref-visited - '((((class color) (background light)) (:foreground "magenta4")) - (((class color) (background dark)) (:foreground "magenta4")) - (t (:underline t))) + '((t :inherit info-xref) + (((class color) (background light)) :foreground "magenta4") + (((class color) (background dark)) :foreground "magenta4")) "Face for visited Info cross-references." :group 'info) @@ -110,12 +110,12 @@ A header-line does not scroll with the rest of the buffer." :group 'info) (defface info-header-xref - '((t (:inherit info-xref))) + '((t :inherit info-xref)) "Face for Info cross-references in a node header." :group 'info) (defface info-header-node - '((t (:inherit info-node))) + '((t :inherit info-node)) "Face for Info nodes in a node header." :group 'info) @@ -3124,26 +3124,26 @@ the variable `Info-file-list-for-emacs'." (Info-goto-emacs-command-node command))))) (defface Info-title-1-face - '((((type tty pc) (class color)) (:foreground "yellow" :weight bold)) - (t (:height 1.2 :inherit Info-title-2-face))) + '((((type tty pc) (class color)) :foreground "yellow" :weight bold) + (t :height 1.2 :inherit Info-title-2-face)) "Face for Info titles at level 1." :group 'info) (defface Info-title-2-face - '((((type tty pc) (class color)) (:foreground "lightblue" :weight bold)) - (t (:height 1.2 :inherit Info-title-3-face))) + '((((type tty pc) (class color)) :foreground "lightblue" :weight bold) + (t :height 1.2 :inherit Info-title-3-face)) "Face for Info titles at level 2." :group 'info) (defface Info-title-3-face - '((((type tty pc) (class color)) (:weight bold)) - (t (:height 1.2 :inherit Info-title-4-face))) + '((((type tty pc) (class color)) :weight bold) + (t :height 1.2 :inherit Info-title-4-face)) "Face for Info titles at level 3." :group 'info) (defface Info-title-4-face - '((((type tty pc) (class color)) (:weight bold)) - (t (:weight bold :inherit variable-pitch))) + '((((type tty pc) (class color)) :weight bold) + (t :weight bold :inherit variable-pitch)) "Face for Info titles at level 4." :group 'info) |