Function: markdown-find-leftmost-column
markdown-find-leftmost-column is a natively compiled function defined
in markdown-mode.el.
Signature
(markdown-find-leftmost-column BEG END)
Documentation
Find the leftmost column in the region from BEG to END.
Source Code
;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/markdown-mode.el
(defun markdown-find-leftmost-column (beg end)
"Find the leftmost column in the region from BEG to END."
(let ((mincol 1000))
(save-excursion
(goto-char beg)
(while (< (point) end)
(back-to-indentation)
(unless (looking-at-p "[ \t]*$")
(setq mincol (min mincol (current-column))))
(forward-line 1)))
mincol))