Extending org-ql-open-link
Extending org-ql-open-link to be able to search across multiple Org files from the agenda or a directory containing Org files (optionally recursively using org-ql-search-directories-files-recursive to true).
This commit is contained in:
parent
4f62ba3bd6
commit
1da3b7b281
1 changed files with 15 additions and 0 deletions
|
|
@ -177,6 +177,21 @@ multiple buffers to search with completion and PROMPT."
|
|||
(org-with-point-at marker
|
||||
(org-open-at-point))))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-ql-open-link-in-agenda ()
|
||||
"Call `org-ql-open-link' on `org-agenda-files'."
|
||||
(interactive)
|
||||
(org-ql-open-link (org-agenda-files)))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-ql-open-link-in-org-directory ()
|
||||
"Call `org-ql-open-link' on files in `org-directory'. Set variable
|
||||
`org-ql-search-directories-files-recursive' to `t' to search the
|
||||
directory recursively."
|
||||
(interactive)
|
||||
(org-ql-open-link (org-ql-search-directories-files)))
|
||||
|
||||
|
||||
;;;; Functions
|
||||
|
||||
(defun org-ql-find--buffers ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue