Function: markdown-mark-text-block

markdown-mark-text-block is an interactive and byte-compiled function defined in markdown-mode.el.

Signature

(markdown-mark-text-block)

Documentation

Put mark at end of this plain text block, point at beginning.

The block marked is the one that contains point or follows point.

Interactively, if this command is repeated or (in Transient Mark mode) if the mark is active, it marks the next block after the ones already marked.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-mark-text-block ()
  "Put mark at end of this plain text block, point at beginning.
The block marked is the one that contains point or follows point.

Interactively, if this command is repeated or (in Transient Mark
mode) if the mark is active, it marks the next block after the
ones already marked."
  (interactive)
  (if (or (and (eq last-command this-command) (mark t))
          (and transient-mark-mode mark-active))
      (set-mark
       (save-excursion
         (goto-char (mark))
         (markdown-end-of-text-block)
         (point)))
    (let ((beginning-of-defun-function #'markdown-beginning-of-text-block)
          (end-of-defun-function #'markdown-end-of-text-block))
      (mark-defun))))