Function: markdown--edit-indirect-move-to-committed-position
markdown--edit-indirect-move-to-committed-position is a byte-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 ~/.emacs.d/elpa/markdown-mode-20260321.143/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))