Ihor Radchenko <yanta...@posteo.net> writes:

> -(dolist (org-file (directory-files-recursively default-directory "\\.org$"))
> +(dolist (org-file (directory-files-recursively
> +                default-directory "\\.org$"
> +                nil (lambda (n) (not (string-match-p "archive" n)))))
>
> Won't it also discard all the files with word "archive" in them?

Yes, you're right, hopefully this is better:
https://git.sr.ht/~bzg/worg/commit/a0f10380

Thanks!

-- 
 Bastien

Reply via email to