Fix #4419: suppress large-file message in org-agenda buffers
This commit is contained in:
parent
0f2bb647eb
commit
f2d71ae8fe
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ buffers."
|
||||||
"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)
|
(doom-inhibit-large-file-detection t)
|
||||||
find-file-hook
|
find-file-hook
|
||||||
org-mode-hook)
|
org-mode-hook)
|
||||||
(funcall orig-fn file)))
|
(funcall orig-fn file)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue