Misc coding convention cleanups.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 26 Nov 2009 16:24:36 +0000 (16:24 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 26 Nov 2009 16:24:36 +0000 (16:24 +0000)
commit72fe6b25a283acd4c8f5a6c4e7393efa84649821
treea1565e2c364c344feb5ecc855673e4b551ce4537
parent85e0a5363c644d8886b7b14a864491f3776fac03
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.
lisp/ChangeLog
lisp/htmlfontify.el