Variable: hfy-display-class
hfy-display-class is a customizable variable defined in
htmlfontify.el.gz.
Value
nil
Documentation
Display class to use to determine which display class to use when calculating a face's attributes. This is useful when, for example, you are running Emacs on a tty or in batch mode, and want htmlfontify to have access to the face spec you would use if you were connected to an X display.
Some valid class specification elements are:
(class color)
(class grayscale)
(background dark)
(background light)
(type x-toolkit)
(type tty)
(type motif)
(type lucid)
Multiple values for a tag may be combined, to indicate that any one or more
of these values in the specification key constitutes a match, eg:
((class color grayscale) (type tty)) would match any of:
((class color))
((class grayscale))
((class color grayscale))
((class color foo))
((type tty))
((type tty) (class color))
and so on.
Source Code
;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defcustom hfy-display-class nil
"Display class to use to determine which display class to use when
calculating a face's attributes. This is useful when, for example, you
are running Emacs on a tty or in batch mode, and want htmlfontify to have
access to the face spec you would use if you were connected to an X display.
Some valid class specification elements are:
(class color)
(class grayscale)
(background dark)
(background light)
(type x-toolkit)
(type tty)
(type motif)
(type lucid)
Multiple values for a tag may be combined, to indicate that any one or more
of these values in the specification key constitutes a match, eg:
\((class color grayscale) (type tty)) would match any of:
((class color))
((class grayscale))
((class color grayscale))
((class color foo))
((type tty))
((type tty) (class color))
and so on."
:type '(alist :key-type (symbol) :value-type (symbol))
:tag "display-class"
:options '((type (choice (const :tag "X11" x-toolkit)
(const :tag "Terminal" tty )
(const :tag "Lucid Toolkit" lucid )
(const :tag "Motif Toolkit" motif )))
(class (choice (const :tag "Color" color )
(const :tag "Grayscale" grayscale)))
(background (choice (const :tag "Dark" dark )
(const :tag "Bright" light ))) ))