Function: hfy-href
hfy-href is a byte-compiled function defined in htmlfontify.el.gz.
Signature
(hfy-href THIS-FILE DEF-FILES TAG TAG-MAP)
Documentation
Return a relative href to the tag in question, based on
THIS-FILE hfy-link-extn hfy-extn DEF-FILES TAG and TAG-MAP
THIS-FILE is the current source file
DEF-FILES is a list of file containing possible link endpoints for TAG
TAG is the tag in question
TAG-MAP is the entry in hfy-tags-cache.
Source Code
;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defun hfy-href (this-file def-files tag tag-map)
"Return a relative href to the tag in question, based on
THIS-FILE `hfy-link-extn' `hfy-extn' DEF-FILES TAG and TAG-MAP
THIS-FILE is the current source file
DEF-FILES is a list of file containing possible link endpoints for TAG
TAG is the tag in question
TAG-MAP is the entry in `hfy-tags-cache'."
;;(message "hfy-href");;DBUG
(concat
(hfy-href-stub this-file def-files tag)
(or hfy-link-extn hfy-extn) "#" tag ;;(.src -> .html)
(if (= 1 (length def-files))
(concat "." (format "%d" (cadr (assoc (car def-files) tag-map)))))) )