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

denote--delete-active-region-content is a natively 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 /nix/store/yld6spsps5sfn9w4rjyhkvqlvdgsmvpq-emacs-packages-deps/share/emacs/site-lisp/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)))