mirror of
https://github.com/SqrtMinusOne/org-clock-agg.git
synced 2025-12-10 14:03:02 +03:00
org-clock-agg: fix byte-compile
This commit is contained in:
parent
8d24bb4ce7
commit
d9ce9d189b
1 changed files with 7 additions and 0 deletions
|
|
@ -50,6 +50,10 @@
|
|||
(require 'compat)
|
||||
(require 'org-ql)
|
||||
|
||||
;; XXX byte-compiler on 29.4 started to want this, don't know why
|
||||
(defvar widget-push-button-prefix)
|
||||
(defvar widget-push-button-suffix)
|
||||
|
||||
(defgroup org-clock-agg nil
|
||||
"Aggregate org-clock statistics."
|
||||
:group 'org-clock)
|
||||
|
|
@ -1144,6 +1148,9 @@ elements as well. LEVEL is the level of the node."
|
|||
(defun org-clock-agg-view-elems-at-point ()
|
||||
"View elements of the `org-clock-agg' node at point."
|
||||
(interactive)
|
||||
;; `org-ql' doesn't requrire this by default, I assume for
|
||||
;; optimization purposes. I won't interfere.
|
||||
(require 'org-ql-view)
|
||||
(let ((node-at-point (get-text-property (point) 'node)))
|
||||
(unless node-at-point
|
||||
(user-error "No node at point!"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue