Fix #4419: suppress large-file message in org-agenda buffers

This commit is contained in:
Henrik Lissner 2020-12-18 16:08:58 -05:00
parent 0f2bb647eb
commit f2d71ae8fe
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -606,7 +606,7 @@ buffers."
"Prevent temporarily opened agenda buffers from polluting recentf."
:around #'org-get-agenda-file-buffer
(let ((recentf-exclude (list (lambda (_file) t)))
(doom-large-file-p t)
(doom-inhibit-large-file-detection t)
find-file-hook
org-mode-hook)
(funcall orig-fn file)))