mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/org: optimize org-agenda (part 2) #2672
This commit is contained in:
@ -598,7 +598,9 @@ buffers."
|
|||||||
(defadvice! +org--exclude-agenda-buffers-from-recentf-a (orig-fn file)
|
(defadvice! +org--exclude-agenda-buffers-from-recentf-a (orig-fn file)
|
||||||
"Prevent temporarily opened agenda buffers from polluting recentf."
|
"Prevent temporarily opened agenda buffers from polluting recentf."
|
||||||
:around #'org-get-agenda-file-buffer
|
:around #'org-get-agenda-file-buffer
|
||||||
(let ((recentf-exclude (list (lambda (_file) t))))
|
(let ((recentf-exclude (list (lambda (_file) t)))
|
||||||
|
(doom-large-file-p t)
|
||||||
|
find-file-hook)
|
||||||
(funcall orig-fn file)))
|
(funcall orig-fn file)))
|
||||||
|
|
||||||
;; HACK With https://code.orgmode.org/bzg/org-mode/commit/48da60f4, inline
|
;; HACK With https://code.orgmode.org/bzg/org-mode/commit/48da60f4, inline
|
||||||
|
Reference in New Issue
Block a user