Function: markdown--edit-indirect-move-to-committed-position
markdown--edit-indirect-move-to-committed-position is a natively
compiled function defined in markdown-mode.el.
Signature
(markdown--edit-indirect-move-to-committed-position)
Documentation
Move the point in the code block corresponding to the saved committed position.
Source Code
;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/markdown-mode.el
(defun markdown--edit-indirect-move-to-committed-position ()
"Move the point in the code block corresponding to the saved committed position."
(when-let* ((pos markdown--edit-indirect-committed-position)
(bounds (markdown-get-enclosing-fenced-block-construct))
(fence-begin (nth 0 bounds)))
(goto-char fence-begin)
(let ((block-indentation (current-indentation)))
(forward-line (car pos))
(move-to-column (+ block-indentation (cdr pos)))))
(setq markdown--edit-indirect-committed-position nil))