add option in org-ql-find-in-agenda to search archive files
This commit is contained in:
parent
a4bf5b0a92
commit
2dc97bf81d
1 changed files with 5 additions and 4 deletions
|
|
@ -110,10 +110,11 @@ which see (but only the files are used)."
|
|||
marker)))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-ql-find-in-agenda ()
|
||||
"Call `org-ql-find' on `org-agenda-files'."
|
||||
(interactive)
|
||||
(org-ql-find (org-agenda-files)))
|
||||
(defun org-ql-find-in-agenda (arg)
|
||||
"Call `org-ql-find' on `org-agenda-files'.
|
||||
With a prefix argument, include archive files as well."
|
||||
(interactive "P")
|
||||
(org-ql-find (org-agenda-files nil (not (not arg)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-ql-find-in-org-directory ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue