Comment: Remove comment
Benchmarking shows that, when org-ql is byte-compiled, calling org-outline-level is actually slightly faster than org-current-level.
This commit is contained in:
parent
465767e7cc
commit
95d51ef998
1 changed files with 0 additions and 2 deletions
|
|
@ -190,8 +190,6 @@ function.
|
|||
Outline levels should be integers."
|
||||
;; NOTE: It might be necessary to take into account `org-odd-levels'; see docstring for
|
||||
;; `org-outline-level'.
|
||||
;; NOTE: `org-outline-level' accounts for inline tasks, which might be slower than the naive
|
||||
;; `org-current-level'.
|
||||
(when-let ((outline-level (org-outline-level)))
|
||||
(pcase level
|
||||
;; Check for equality
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue