org-clock: Fix failing tests
* lisp/org-clock.el (org-clock-get-table-data): `org-get-heading' only accepts up to 2 arguments in Org 9.0.
This commit is contained in:
parent
8dfcdedf44
commit
cb5ca4206f
|
@ -2798,7 +2798,9 @@ PROPERTIES: The list properties specified in the `:properties' parameter
|
||||||
(when (and time (> time 0) (org-at-heading-p))
|
(when (and time (> time 0) (org-at-heading-p))
|
||||||
(let ((level (org-reduced-level (org-current-level))))
|
(let ((level (org-reduced-level (org-current-level))))
|
||||||
(when (<= level maxlevel)
|
(when (<= level maxlevel)
|
||||||
(let* ((headline (org-get-heading t t t t))
|
(let* ((headline (replace-regexp-in-string
|
||||||
|
(format "\\`%s[ \t]+" org-comment-string) ""
|
||||||
|
(nth 4 (org-heading-components))))
|
||||||
(hdl
|
(hdl
|
||||||
(if (not link) headline
|
(if (not link) headline
|
||||||
(let ((search
|
(let ((search
|
||||||
|
|
Loading…
Reference in New Issue