Function: org-appear--show-with-lock
org-appear--show-with-lock is a natively compiled function defined in
org-appear.el.
Signature
(org-appear--show-with-lock ELEM &optional RENEW)
Documentation
Show invisible parts of element ELEM.
When RENEW is non-nil, obtain element at point instead.
Source Code
;; Defined in /nix/store/ysqmilmh80y85ik1crg29w7g7i73wjk9-emacs-packages-deps/share/emacs/site-lisp/elpa/org-appear-20260716.2120/org-appear.el
(defun org-appear--show-with-lock (elem &optional renew)
"Show invisible parts of element ELEM.
When RENEW is non-nil, obtain element at point instead."
;; When called with timer, element might be different upon arrival
(when renew
(setq elem (org-appear--current-elem))
(setq org-appear--prev-elem elem)
(setq org-appear--timer nil))
(when-let* ((elem-start (org-element-property :begin elem))
(elem-end (org-element-property :end elem)))
;; Call `font-lock-ensure' before unhiding to prevent `jit-lock-mode'
;; from refontifying the element region after changes in buffer
(font-lock-ensure elem-start elem-end)
(org-appear--show-invisible elem)))