Function: markdown-footnote-delete-marker
markdown-footnote-delete-marker is a byte-compiled function defined in
markdown-mode.el.
Signature
(markdown-footnote-delete-marker)
Documentation
Delete a footnote marker at point.
Returns a list (ID START) containing the footnote ID and the start position of the marker before deletion. If no footnote marker was deleted, this function returns NIL.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-footnote-delete-marker ()
"Delete a footnote marker at point.
Returns a list (ID START) containing the footnote ID and the
start position of the marker before deletion. If no footnote
marker was deleted, this function returns NIL."
(let ((marker (markdown-footnote-marker-positions)))
(when marker
(delete-region (cl-second marker) (cl-third marker))
(butlast marker))))