mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
Make stylistic change to let binding of denote--get-active-region-content
This commit is contained in:
parent
0f93eee66f
commit
df76615cf9
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue