Exclude encrypted org-files from agenda

This commit is contained in:
Nathan McCarty 2022-11-15 19:55:11 -05:00
parent b71dee1e1b
commit 1ad69b91b9
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 2 additions and 0 deletions

View File

@ -311,6 +311,8 @@ Setup org-superstar-mode, to make lists and bullets pretty
(and
;; Exclude the syncthing folder
(not (string-match-p ".*stfolder$" item))
;; Exclude gpg encrypted org files
(not (string-match-p ".*\\.gpg" item))
;; Exclude the elfeed data folder
(not (string-match-p (concat "^" (regexp-quote org-directory) "elfeed/.*") item))
;; Only accept org files