Compare commits

..

No commits in common. "ad8aa0fda8029a7812095d15d43959a3deddace7" and "2349d6726f4bd821b4406ba18df7fe53cc2539de" have entirely different histories.

13
init.el
View File

@ -827,8 +827,6 @@
:autoload (org-link-set-parameters)
:config (progn
(require 'ol-man)
(when (version< (org-version) "9.7")
;; Pushing already stored links to the front of `org-stored-links' became default
;; behavior in Org 9.7, the below code is thus only needed for older versions.
@ -1114,16 +1112,7 @@ quickly loose their meaning."
(fset 'recenter 'identity)
(unwind-protect
(apply actual-agenda-redo r)
(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)))))
(fset 'recenter old-recenter))))))
;; Capturing