emacs-devel
[Top][All Lists]
Advanced

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

Broken Face Introduction in Info Page


From: Herbert Euler
Subject: Broken Face Introduction in Info Page
Date: Sat, 07 Apr 2007 20:16:49 +0800

The "Defining Faces" subsection in the elisp manual includes
a broken `defface' example.  (info "(elisp) Defining Faces")
It says:

  Here's how the standard face `region' is defined:

      '((((class color) (min-colors 88) (background dark))
         :background "blue3")
        (((class color) (min-colors 88) (background light))
         :background "lightgoldenrod2")
        (((class color) (min-colors 16) (background dark))
         :background "blue3")
        (((class color) (min-colors 16) (background light))
         :background "lightgoldenrod2")
        (((class color) (min-colors 8))
         :background "blue" :foreground "white")
        (((type tty) (class mono))
         :inverse-video t)
        (t :background "gray"))
      "Basic face for highlighting the region."
      :group 'basic-faces)

Well, it seems this should be

  Here's how the standard face `region' is defined:

    (defface region
      '((((class color) (min-colors 88) (background dark))
         :background "blue3")
        (((class color) (min-colors 88) (background light))
         :background "lightgoldenrod2")
        (((class color) (min-colors 16) (background dark))
         :background "blue3")
        (((class color) (min-colors 16) (background light))
         :background "lightgoldenrod2")
        (((class color) (min-colors 8))
         :background "blue" :foreground "white")
        (((type tty) (class mono))
         :inverse-video t)
        (t :background "gray"))
      "Basic face for highlighting the region."
      :group 'basic-faces)

Regards,
Guanpeng Xu

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





reply via email to

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