Function: markdown-beginning-of-list
markdown-beginning-of-list is an interactive and byte-compiled
function defined in markdown-mode.el.
Signature
(markdown-beginning-of-list)
Documentation
Move point to beginning of list at point, if any.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-beginning-of-list ()
"Move point to beginning of list at point, if any."
(interactive)
(let ((orig-point (point))
(list-begin (save-excursion
(markdown-search-backward-baseline)
;; Stop at next list item, regardless of the indentation.
(markdown-next-list-item (point-max))
(when (looking-at markdown-regex-list)
(point)))))
(when (and list-begin (<= list-begin orig-point))
(goto-char list-begin))))