Function: hyrolo-expand-path-list

hyrolo-expand-path-list is a byte-compiled function defined in hyrolo.el.

Signature

(hyrolo-expand-path-list PATHS)

Documentation

Expand and return non-nil PATHS's dirs, file variables and file wildcards.

Return only existing, readable files. If PATHS is nil, return a default set of hyrolo files to use.

Single ${env-or-lisp-variable} references are resolved within each path using hpath:expand; this also expands paths to absolute paths. Then directories are expanded into the files they contain that match hyrolo-file-suffix-regexp. Then, if find-file-wildcards is non-nil (the default), any files containing [char-matches] or * wildcards are expanded to their matches.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hyrolo.el
(defun hyrolo-expand-path-list (paths)
  "Expand and return non-nil PATHS's dirs, file variables and file wildcards.
Return only existing, readable files.  If PATHS is nil, return a
default set of hyrolo files to use.

Single ${env-or-lisp-variable} references are resolved within
each path using `hpath:expand'; this also expands paths to
absolute paths.  Then directories are expanded into the files
they contain that match `hyrolo-file-suffix-regexp'.  Then, if
`find-file-wildcards' is non-nil (the default), any files
containing [char-matches] or * wildcards are expanded to their
matches."
  (unless paths
    (setq paths
	  (delq nil
		(list hyrolo-default-file
		      (if (and (boundp 'bbdb-file) (stringp bbdb-file)) bbdb-file)
		      (when (hyrolo-google-contacts-p) google-contacts-buffer-name)))))
  (or (hpath:expand-list paths hyrolo-file-suffix-regexp)
      (list (expand-file-name hyrolo-default-file))))