Make stylistic change to let binding of denote--get-active-region-content

This commit is contained in:
Protesilaos Stavrou 2025-11-22 12:10:43 +02:00
parent 0f93eee66f
commit df76615cf9
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -5262,7 +5262,7 @@ This is useful as the value of the user option
(defun denote--get-active-region-content ()
"Return the text of the active region, else nil."
(when-let* (((region-active-p))
(when-let* ((_ (region-active-p))
(beg (region-beginning))
(end (region-end))
(contents (buffer-substring-no-properties beg end))