Function: denote--delete-active-region-content

denote--delete-active-region-content is a byte-compiled function defined in denote.el.

Signature

(denote--delete-active-region-content)

Documentation

Delete the content of the active region, if any.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote--delete-active-region-content ()
  "Delete the content of the active region, if any."
  (when-let* ((_ (region-active-p))
              (beg (region-beginning))
              (end (region-end)))
    (delete-region beg end)))