aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/htmlfontify.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/htmlfontify.el')
-rw-r--r--lisp/htmlfontify.el40
1 files changed, 20 insertions, 20 deletions
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index d00fae26793..3731be621e2 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -262,10 +262,10 @@ These functions will be called with the HTML buffer as the current buffer."
262 :type '(hook)) 262 :type '(hook))
263 263
264(defcustom hfy-default-face-def nil 264(defcustom hfy-default-face-def nil
265 "Fallback `defface' specification for the face 'default, used when 265 "Fallback `defface' specification for the face `default', used when
266`hfy-display-class' has been set (the normal htmlfontify way of extracting 266`hfy-display-class' has been set (the normal htmlfontify way of extracting
267potentially non-current face information doesn't necessarily work for 267potentially non-current face information doesn't necessarily work for
268'default).\n 268`default').\n
269Example: I customize this to:\n 269Example: I customize this to:\n
270\((t :background \"black\" :foreground \"white\" :family \"misc-fixed\"))" 270\((t :background \"black\" :foreground \"white\" :family \"misc-fixed\"))"
271 :group 'htmlfontify 271 :group 'htmlfontify
@@ -410,23 +410,23 @@ calculating a face's attributes. This is useful when, for example, you
410are running Emacs on a tty or in batch mode, and want htmlfontify to have 410are running Emacs on a tty or in batch mode, and want htmlfontify to have
411access to the face spec you would use if you were connected to an X display.\n 411access to the face spec you would use if you were connected to an X display.\n
412Some valid class specification elements are:\n 412Some valid class specification elements are:\n
413 '(class color) 413 (class color)
414 '(class grayscale) 414 (class grayscale)
415 '(background dark) 415 (background dark)
416 '(background light) 416 (background light)
417 '(type x-toolkit) 417 (type x-toolkit)
418 '(type tty) 418 (type tty)
419 '(type motif) 419 (type motif)
420 '(type lucid) 420 (type lucid)
421Multiple values for a tag may be combined, to indicate that any one or more 421Multiple values for a tag may be combined, to indicate that any one or more
422of these values in the specification key constitutes a match, eg:\n 422of these values in the specification key constitutes a match, eg:\n
423'((class color grayscale) (type tty)) would match any of:\n 423((class color grayscale) (type tty)) would match any of:\n
424 '((class color)) 424 ((class color))
425 '((class grayscale)) 425 ((class grayscale))
426 '((class color grayscale)) 426 ((class color grayscale))
427 '((class color foo)) 427 ((class color foo))
428 '((type tty)) 428 ((type tty))
429 '((type tty) (class color))\n 429 ((type tty) (class color))\n
430and so on." 430and so on."
431 :type '(alist :key-type (symbol) :value-type (symbol)) 431 :type '(alist :key-type (symbol) :value-type (symbol))
432 :group 'htmlfontify 432 :group 'htmlfontify
@@ -881,10 +881,10 @@ specify - this matches Emacs's behavior when deciding on which face attributes
881to use, to the best of my understanding).\n 881to use, to the best of my understanding).\n
882If CLASS is nil, then you just get whatever `face-attr-construct' returns, 882If CLASS is nil, then you just get whatever `face-attr-construct' returns,
883ie the current specification in effect for FACE.\n 883ie the current specification in effect for FACE.\n
884*NOTE*: This function forces any face that is not 'default and which has 884*NOTE*: This function forces any face that is not `default' and which has
885no :inherit property to inherit from 'default (this is because 'default 885no :inherit property to inherit from `default' (this is because `default'
886is magical in that Emacs's fonts behave as if they inherit implicitly from 886is magical in that Emacs's fonts behave as if they inherit implicitly from
887'default, but no such behavior exists in HTML/CSS).\n 887`default', but no such behavior exists in HTML/CSS).\n
888See also `hfy-display-class' for details of valid values for CLASS." 888See also `hfy-display-class' for details of valid values for CLASS."
889 (let ((face-spec 889 (let ((face-spec
890 (if class 890 (if class