Function: markdown-prev-line-indent

markdown-prev-line-indent is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-prev-line-indent)

Documentation

Return the number of leading whitespace characters in the previous line.

Return 0 if the current line is the first line in the buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-prev-line-indent ()
  "Return the number of leading whitespace characters in the previous line.
Return 0 if the current line is the first line in the buffer."
  (save-excursion
    (if (= (line-beginning-position) (point-min))
        0
      (forward-line -1)
      (current-indentation))))