Function: hfy-prepare-tag-map
hfy-prepare-tag-map is a byte-compiled function defined in
htmlfontify.el.gz.
Signature
(hfy-prepare-tag-map SRCDIR DSTDIR)
Documentation
Prepare the counterpart(s) to the index buffer(s) - a list of buffers
with the same structure, but listing (and linking to) instances of tags
(as opposed to their definitions).
SRCDIR and DSTDIR are the source and output directories respectively.
See also hfy-prepare-index, hfy-split-index.
Source Code
;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defun hfy-prepare-tag-map (srcdir dstdir)
"Prepare the counterpart(s) to the index buffer(s) - a list of buffers
with the same structure, but listing (and linking to) instances of tags
\(as opposed to their definitions).
SRCDIR and DSTDIR are the source and output directories respectively.
See also `hfy-prepare-index', `hfy-split-index'."
(if (not hfy-split-index)
(list (hfy-prepare-index-i srcdir
dstdir
hfy-instance-file
nil
hfy-tags-rmap))
(let ((stub-list nil)
(cache-hash nil)
(index-list nil)
(cache-entry (assoc srcdir hfy-tags-rmap)))
(if (and cache-entry (setq cache-hash (cadr cache-entry)))
(maphash
(lambda (K _V)
(let ((stub (upcase (substring K 0 1))))
(if (member stub stub-list)
nil ;; seen this already: NOOP
(setq
stub-list (cons stub stub-list)
index-list (cons (hfy-prepare-index-i srcdir
dstdir
hfy-instance-file
stub
hfy-tags-rmap)
index-list)) )))
cache-hash) )
index-list)))