]> git.eshelyaron.com Git - emacs.git/commit
* lisp/htmlfontify.el: Make it obey the font-lock-face text property.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Jan 2011 17:04:07 +0000 (12:04 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Jan 2011 17:04:07 +0000 (12:04 -0500)
commit153c5428d248cd14341a75c1284d5063357ff3a0
tree368d53d8447e608263ae54563535c229c9cce30c
parent14596870e2556fd565f258b87ee3ce5751cbba10
* lisp/htmlfontify.el: Make it obey the font-lock-face text property.
Miscellaneous cleanup such as:
- Don't hide expressions after a closing paren.
- Move initial setq into let.
- Hoist common parts out of ifs.
(hfy-p-to-face, hfy-p-to-face-lennart): Remove.
(hfy-face-at): Use get-text-property instead.
(hfy-prop-invisible-p): Use invisible-p if available.
(htmlfontify-manual): Use \\[...].
(hfy-html-quote-regex): Use [...].
(hfy-combined-face-spec): Simplify.
(hfy-compile-face-map): Don't presume point-min==1.
(hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
match end of string.
(hfy-text-p): η-reduce.
(hfy-tags-for-file): Receive cache-hash directly.
(hfy-mark-tag-names): Adjust call.
lisp/ChangeLog
lisp/htmlfontify.el