emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Doc for defface does not mention new "default" condition


From: Kim F. Storm
Subject: Doc for defface does not mention new "default" condition
Date: Tue, 12 Apr 2005 22:22:55 +0200 (CEST)

Condition "default" is not documented for "defface" - neither in the
doc string, nor in the elisp manual.

(defface info-xref-visited
  '((default :inherit info-xref)
    (((class color) (background light)) :foreground "magenta4")
    (((class color) (background dark)) :foreground "magenta3")) ;"violet"?
  "Face for visited Info cross-references."
  :group 'info)

Deep down in "face-spec-choose" we have this:

        ;; If the condition is `default', that sets the default
        ;; for following conditions.
        (if (eq display 'default)
            (setq defaults thisval)

-- 
Kim F. Storm  <address@hidden>      http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]