Function: markdown-indent-find-next-position

markdown-indent-find-next-position is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-indent-find-next-position CUR-POS POSITIONS)

Documentation

Return the position after the index of CUR-POS in POSITIONS.

Positions are calculated by markdown-calc-indents.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
;;; Indentation ===============================================================

(defun markdown-indent-find-next-position (cur-pos positions)
  "Return the position after the index of CUR-POS in POSITIONS.
Positions are calculated by `markdown-calc-indents'."
  (while (and positions
              (not (equal cur-pos (car positions))))
    (setq positions (cdr positions)))
  (or (cadr positions) 0))