Function: markdown-gfm-checkbox-after-change-function

markdown-gfm-checkbox-after-change-function is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-gfm-checkbox-after-change-function BEG END _)

Documentation

Add to after-change-functions to setup GFM checkboxes as buttons.

BEG and END are the limits of scanned region.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
;; Called when any modification is made to buffer text.
(defun markdown-gfm-checkbox-after-change-function (beg end _)
  "Add to `after-change-functions' to setup GFM checkboxes as buttons.
BEG and END are the limits of scanned region."
  (save-excursion
    (save-match-data
      ;; Rescan between start of line from `beg' and start of line after `end'.
      (markdown-make-gfm-checkboxes-buttons
       (progn (goto-char beg) (beginning-of-line) (point))
       (progn (goto-char end) (forward-line 1) (point))))))