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

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

[elpa] externals/denote 320c687791: Fix prompt placement in denote-dired


From: ELPA Syncer
Subject: [elpa] externals/denote 320c687791: Fix prompt placement in denote-dired-batch-rename
Date: Sun, 17 Jul 2022 00:57:32 -0400 (EDT)

branch: externals/denote
commit 320c687791dcb5d77e228e93b8403d9f7f2669a2
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Fix prompt placement in denote-dired-batch-rename
---
 denote-dired.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/denote-dired.el b/denote-dired.el
index 8781d9aec4..35693d3335 100644
--- a/denote-dired.el
+++ b/denote-dired.el
@@ -440,11 +440,11 @@ Rename marked files in Dired using the following pattern:
 Batch renaming ignores files that comply with Denote's
 file-naming scheme."
   (interactive nil dired-mode)
-  (if-let ((marks (dired-get-marked-files)))
+  (if-let ((marks (dired-get-marked-files))
+           (keywords (denote--keywords-prompt)))
       (progn
         (dolist (file marks)
-          (let* ((keywords (denote--keywords-prompt))
-                 (dir (file-name-directory file))
+          (let* ((dir (file-name-directory file))
                  (title (file-name-sans-extension (file-name-nondirectory 
file)))
                  (extension (file-name-extension file t))
                  (new-name (denote--format-file



reply via email to

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