I have a form variable which contains a list of file paths specified via functions:
(defcustom my-files-form
'(append (list (concat my-root ".emacs")
(concat my-root ".custom"))
(file-expand-wildcards (concat my-elisp "user-lisp/[a-z]*.el")))
"My Form"
:type 'string)
Before I use the form in a tags-search
I want to filter the form's file paths by seq-filter
(specifically (seq-filter 'file-exists-p my-files-form)
).
However I get an error "Wrong type argument: stringp, append"
when doing so. I guess this happens because my-files-form
is not yet a proper list of paths but the instructions to generate the list of paths.
How can I resolve these instructions into a proper list?