diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-01-27 12:04:07 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-01-27 12:04:07 -0500 |
commit | 153c5428d248cd14341a75c1284d5063357ff3a0 (patch) | |
tree | 368d53d8447e608263ae54563535c229c9cce30c /lisp/emacs-lisp | |
parent | 14596870e2556fd565f258b87ee3ce5751cbba10 (diff) | |
download | emacs-153c5428d248cd14341a75c1284d5063357ff3a0.tar.gz emacs-153c5428d248cd14341a75c1284d5063357ff3a0.tar.bz2 emacs-153c5428d248cd14341a75c1284d5063357ff3a0.zip |
* 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.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions