emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/consult-denote 920df77020 10/16: Tweak how consult-deno


From: ELPA Syncer
Subject: [elpa] externals/consult-denote 920df77020 10/16: Tweak how consult-denote-{grep, find} set the denote-directory
Date: Thu, 9 May 2024 09:58:00 -0400 (EDT)

branch: externals/consult-denote
commit 920df770200a3d17ef1f93ade984011911fd7ade
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Tweak how consult-denote-{grep,find} set the denote-directory
---
 consult-denote.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/consult-denote.el b/consult-denote.el
index 70a318ab8b..e6150779ad 100644
--- a/consult-denote.el
+++ b/consult-denote.el
@@ -103,16 +103,14 @@ aforementioned function."
   "Call `consult-denote-grep-command' in the variable `denote-directory'."
   (declare (interactive-only t))
   (interactive)
-  (let ((default-directory denote-directory))
-    (funcall-interactively consult-denote-grep-command)))
+  (funcall-interactively consult-denote-grep-command (denote-directory)))
 
 ;;;###autoload
 (defun consult-denote-find ()
   "Call `consult-denote-find-command' in the variable `denote-directory'."
   (declare (interactive-only t))
   (interactive)
-  (let ((default-directory denote-directory))
-    (funcall-interactively consult-denote-find-command)))
+  (funcall-interactively consult-denote-find-command (denote-directory)))
 
 ;;;###autoload
 (defun consult-denote-open ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]