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:
parent
7ef578dd4e
commit
8bea06ce93
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue