lisp/org-element.el (org-element--cache-active-p): Remove FIXME

It is not 100% clear if inlining `org-element--cache-active-p' will
yield practical improvements.  So, let's not litter the code base with
such FIXMEs.
This commit is contained in:
Ihor Radchenko 2024-05-20 15:09:51 +02:00
parent 7ef578dd4e
commit 8bea06ce93
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 0 additions and 5 deletions

View File

@ -6147,11 +6147,6 @@ This function assumes `org-element--headline-cache' is a valid AVL tree."
;;;; Tools
;; FIXME: Ideally, this should be inlined to avoid overheads, but
;; inlined functions should be declared before the code that uses them
;; and some code above does use `org-element--cache-active-p'. Moving this
;; declaration on top would require restructuring the whole cache
;; section.
(defun org-element--cache-active-p (&optional called-from-cache-change-func-p)
"Non-nil when cache is active in current buffer.
When CALLED-FROM-CACHE-CHANGE-FUNC-P is non-nil, do not assert cache