Function: embark-org-goto-heading

embark-org-goto-heading is a byte-compiled function defined in embark-org.el.

Signature

(embark-org-goto-heading &key TARGET &allow-other-keys)

Documentation

Jump to the org heading TARGET refers to.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark-org.el
(cl-defun embark-org-goto-heading (&key target &allow-other-keys)
  "Jump to the org heading TARGET refers to."
  (when-let* ((marker (embark-org--heading-location target)))
    (pop-to-buffer (marker-buffer marker))
    (widen)
    (goto-char marker)
    (org-reveal)
    (pulse-momentary-highlight-one-line)))