Exclude encrypted org-files from agenda
This commit is contained in:
parent
b71dee1e1b
commit
1ad69b91b9
|
@ -311,6 +311,8 @@ Setup org-superstar-mode, to make lists and bullets pretty
|
||||||
(and
|
(and
|
||||||
;; Exclude the syncthing folder
|
;; Exclude the syncthing folder
|
||||||
(not (string-match-p ".*stfolder$" item))
|
(not (string-match-p ".*stfolder$" item))
|
||||||
|
;; Exclude gpg encrypted org files
|
||||||
|
(not (string-match-p ".*\\.gpg" item))
|
||||||
;; Exclude the elfeed data folder
|
;; Exclude the elfeed data folder
|
||||||
(not (string-match-p (concat "^" (regexp-quote org-directory) "elfeed/.*") item))
|
(not (string-match-p (concat "^" (regexp-quote org-directory) "elfeed/.*") item))
|
||||||
;; Only accept org files
|
;; Only accept org files
|
||||||
|
|
Loading…
Reference in New Issue