diff options
Diffstat (limited to 'lisp/htmlfontify.el')
| -rw-r--r-- | lisp/htmlfontify.el | 40 |
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 |
| 267 | potentially non-current face information doesn't necessarily work for | 267 | potentially non-current face information doesn't necessarily work for |
| 268 | 'default).\n | 268 | `default').\n |
| 269 | Example: I customize this to:\n | 269 | Example: 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 | |||
| 410 | are running Emacs on a tty or in batch mode, and want htmlfontify to have | 410 | are running Emacs on a tty or in batch mode, and want htmlfontify to have |
| 411 | access to the face spec you would use if you were connected to an X display.\n | 411 | access to the face spec you would use if you were connected to an X display.\n |
| 412 | Some valid class specification elements are:\n | 412 | Some 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) |
| 421 | Multiple values for a tag may be combined, to indicate that any one or more | 421 | Multiple values for a tag may be combined, to indicate that any one or more |
| 422 | of these values in the specification key constitutes a match, eg:\n | 422 | of 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 |
| 430 | and so on." | 430 | and 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 | |||
| 881 | to use, to the best of my understanding).\n | 881 | to use, to the best of my understanding).\n |
| 882 | If CLASS is nil, then you just get whatever `face-attr-construct' returns, | 882 | If CLASS is nil, then you just get whatever `face-attr-construct' returns, |
| 883 | ie the current specification in effect for FACE.\n | 883 | ie 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 |
| 885 | no :inherit property to inherit from 'default (this is because 'default | 885 | no :inherit property to inherit from `default' (this is because `default' |
| 886 | is magical in that Emacs's fonts behave as if they inherit implicitly from | 886 | is 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 |
| 888 | See also `hfy-display-class' for details of valid values for CLASS." | 888 | See 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 |