Fix void-variable recentf-exclude

This commit is contained in:
Henrik Lissner
2017-06-05 16:56:13 +02:00
parent d4761a7c6d
commit 1906de46e8
2 changed files with 10 additions and 8 deletions

View File

@@ -13,9 +13,10 @@
(defun +org|init-attach ()
(setq org-attach-directory +org-attachment-dir)
;; Don't track attachments in recentf or projectile
(push (format "/%s.+$" (regexp-quote +org-attachment-dir)) recentf-exclude)
;; Don't track attachments in projectile or recentf
(push ".attach" projectile-globally-ignored-file-suffixes)
(after! recentf
(push (format "/%s.+$" (regexp-quote +org-attachment-dir)) recentf-exclude))
;; FIXME Use all-the-icons
;; (doom-fix-unicode '("FontAwesome" 13) ? ? ? ? ? ? ? ?)