Revert "Include zettelkasten files in Org agenda searches"
It's too slow :(
This reverts commit 902e205e7e.
This commit is contained in:
parent
ad8aa0fda8
commit
7e763d82ea
11
init.el
11
init.el
@ -1114,16 +1114,7 @@ quickly loose their meaning."
|
|||||||
(fset 'recenter 'identity)
|
(fset 'recenter 'identity)
|
||||||
(unwind-protect
|
(unwind-protect
|
||||||
(apply actual-agenda-redo r)
|
(apply actual-agenda-redo r)
|
||||||
(fset 'recenter old-recenter))))
|
(fset 'recenter old-recenter))))))
|
||||||
|
|
||||||
(define-advice org-search-view (:around
|
|
||||||
(func &rest args)
|
|
||||||
find-in-org-roam-files)
|
|
||||||
"When searching through Org items, also include `org-roam' files when available."
|
|
||||||
(let ((org-agenda-text-search-extra-files (append org-agenda-text-search-extra-files
|
|
||||||
(when (require 'org-roam nil :no-error)
|
|
||||||
(org-roam-list-files)))))
|
|
||||||
(apply func args)))))
|
|
||||||
|
|
||||||
;; Capturing
|
;; Capturing
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user