emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [WORG] Re: 0e6cdacc publish.sh: never publish the archive/ subdirect


From: Bastien
Subject: Re: [WORG] Re: 0e6cdacc publish.sh: never publish the archive/ subdirectory
Date: Mon, 02 Jan 2023 16:05:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Ihor Radchenko <yantar92@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

[Prev in Thread] Current Thread [Next in Thread]