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:
Adam Porter 2018-08-04 23:14:44 -05:00
parent 465767e7cc
commit 95d51ef998

View file

@ -190,8 +190,6 @@ function.
Outline levels should be integers." Outline levels should be integers."
;; NOTE: It might be necessary to take into account `org-odd-levels'; see docstring for ;; NOTE: It might be necessary to take into account `org-odd-levels'; see docstring for
;; `org-outline-level'. ;; `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))) (when-let ((outline-level (org-outline-level)))
(pcase level (pcase level
;; Check for equality ;; Check for equality