Skip to content

Commit 1ff21dc

Browse files
committed
Fix: (org-ql--get-tags) For Org 9.2
org-get-tags takes no arguments.
1 parent 21d0fad commit 1ff21dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

org-ql.el

+3-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@
5050
(defalias 'org-timestamp-to-time #'org-timestamp--to-internal-time)
5151
(defun org-ql--get-tags (&optional pos local)
5252
(org-get-tags-at pos local)))
53-
(defun org-ql--get-tags (&optional pos local)
54-
(org-get-tags pos local)))
53+
(defun org-ql--get-tags (&rest _ignore)
54+
"Call `org-get-tags', ignoring arguments."
55+
(org-get-tags)))
5556

5657
;;;; Constants
5758

0 commit comments

Comments
 (0)