comparison lisp/ChangeLog @ 106271:8d51419ae1f3

Misc coding convention cleanups. * htmlfontify.el (hfy-init-kludge-hook): Rename from hfy-init-kludge-hooks. (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at) (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps) (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist and push. (hfy-slant, hfy-weight): Use tables rather than code. (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor) (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'. (hfy-face-attr-for-class): Initialize `face-spec' directly. (hfy-face-to-css): Remove `nconc' with single arg. (hfy-p-to-face-lennart): Use `or'. (hfy-face-at): Hoist common code. Remove spurious quotes in `case'. (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce. (hfy-compile-stylesheet, hfy-merge-adjacent-spans) (hfy-compile-face-map, hfy-parse-tags-buffer): Use push. (hfy-force-fontification): Use run-hooks.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 26 Nov 2009 16:24:36 +0000
parents d059492ca39b
children bea65f80986c
comparison
equal deleted inserted replaced
106270:d059492ca39b 106271:8d51419ae1f3
1 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Misc coding convention cleanups.
4 * htmlfontify.el (hfy-init-kludge-hook): Rename from
5 hfy-init-kludge-hooks.
6 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
7 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
8 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9 and push.
10 (hfy-slant, hfy-weight): Use tables rather than code.
11 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14 (hfy-face-to-css): Remove `nconc' with single arg.
15 (hfy-p-to-face-lennart): Use `or'.
16 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
17 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
18 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
19 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
20 (hfy-force-fontification): Use run-hooks.
21
1 2009-11-26 Vivek Dasmohapatra <vivek@etla.org> 22 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
2 23
3 Various minor fixes. 24 Various minor fixes.
4 * htmlfontify.el (hfy-default-header): Add toggle_invis since 25 * htmlfontify.el (hfy-default-header): Add toggle_invis since
5 Javascript belongs in the header, not the body. 26 Javascript belongs in the header, not the body.