Function: hfy-invisible-name

hfy-invisible-name is a byte-compiled function defined in htmlfontify.el.gz.

Signature

(hfy-invisible-name POINT MAP)

Documentation

Generate a CSS style name for an invisible section of the buffer.

POINT is the point inside the invisible region. MAP is the invisibility map as returned by hfy-find-invisible-ranges.

Source Code

;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defun hfy-invisible-name (point map)
  "Generate a CSS style name for an invisible section of the buffer.
POINT is the point inside the invisible region.
MAP is the invisibility map as returned by `hfy-find-invisible-ranges'."
  ;;(message "(hfy-invisible-name %S %S)" point map)
  (let (name)
    (dolist (range map)
      (when (and (>= point (car range))
                 (<  point (cdr range)))
        (setq name (format "invisible-%S-%S" (car range) (cdr range)))))
    name))