Function: markdown-outdent-find-next-position
markdown-outdent-find-next-position is a natively compiled function
defined in markdown-mode.el.
Signature
(markdown-outdent-find-next-position CUR-POS POSITIONS)
Documentation
Return the maximal element that precedes CUR-POS from POSITIONS.
Positions are calculated by markdown-calc-indents.
Source Code
;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/markdown-mode.el
(defun markdown-outdent-find-next-position (cur-pos positions)
"Return the maximal element that precedes CUR-POS from POSITIONS.
Positions are calculated by `markdown-calc-indents'."
(let ((result 0))
(dolist (i positions)
(when (< i cur-pos)
(setq result (max result i))))
result))