Function: markdown-find-leftmost-column

markdown-find-leftmost-column is a byte-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 ~/.emacs.d/elpa/markdown-mode-20260321.143/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))