Closed PhDyellow closed 3 years ago
I did some testing, and found that I could get it to work again by removing the lambda
from around when-let
in orb-process-file-field
, line 144 in orb-core.el
introduced in 9ba1506.
from
(setq paths (--filter
(lambda ()
(when-let ((extension (file-name-extension it)))
(member-ignore-case extension extensions)))
paths)))
to
(setq paths
(--filter
(when-let ((extension (file-name-extension it)))
(member-ignore-case extension extensions))
paths)))
Thanks a lot! No idea why I put that lambda there.
Describe the bug orb-file-field-extensions is being ignored. I am being asked to choose between a pdf and a html file, even though I have (setq orb-file-field-extensions "pdf") in my config.
To Reproduce Steps to reproduce the behavior:
Expected behavior Because of (setq orb-file-field-extensions "pdf"), the "html" should be ignored, and the pdf file should be chosen without asking.
ORB configuration
Doom emacs:
(package! org-roam-bibtex :recipe (:host github :repo "org-roam/org-roam-bibtex"))
ORB options set to non-default values (e.g.
orb-templates
)Environment (please complete the following information):
Screenshots If applicable, add screenshots to help explain your problem.