Function: woman-cached-data
woman-cached-data is a byte-compiled function defined in woman.el.gz.
Signature
(woman-cached-data)
Documentation
Generate a list of data used to determine cache validity.
Called both to generate and to check the cache!
Source Code
;; Defined in /usr/src/emacs/lisp/woman.el.gz
(defun woman-cached-data ()
"Generate a list of data used to determine cache validity.
Called both to generate and to check the cache!"
;; Must use substituted paths because values of env vars may change!
(list woman-cache-level
(let (lst path)
(dolist (dir woman-manpath (nreverse lst))
(when (consp dir)
(unless path
(setq path
(split-string (getenv "PATH") path-separator t)))
(setq dir (and (member (car dir) path) (cdr dir))))
(when dir
(cl-pushnew (substitute-in-file-name dir) lst :test #'equal))))
(mapcar #'substitute-in-file-name woman-path)))