[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 7ce1f97844 4/9: Add denote-rename-file-using-fro
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 7ce1f97844 4/9: Add denote-rename-file-using-front-matter y-or-n |
Date: |
Fri, 5 Aug 2022 06:57:36 -0400 (EDT) |
branch: externals/denote
commit 7ce1f978444fc066bc4eaf5e15fff79b6480d54a
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add denote-rename-file-using-front-matter y-or-n
---
denote.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index d2c6f37df0..adb3489475 100644
--- a/denote.el
+++ b/denote.el
@@ -1385,7 +1385,7 @@ The identifier of the file (if any) is never modified."
(dir (file-name-directory file))
(new-name (denote--format-file
dir id keywords (denote--sluggify title) extension)))
- (progn
+ (when (denote--rename-file-prompt file new-name)
(denote--rename-file file new-name)
(denote-update-dired-buffers))
(user-error "No front matter for title and/or keywords")))
- [elpa] externals/denote updated (91cf9e409e -> 6fd162c9b0), ELPA Syncer, 2022/08/05
- [elpa] externals/denote f1f7ab6450 3/9: Update manual about filetags format, ELPA Syncer, 2022/08/05
- [elpa] externals/denote bbe8ea2574 7/9: Document rename single file based on front matter, ELPA Syncer, 2022/08/05
- [elpa] externals/denote 31e7364c56 5/9: Update denote-rename-file-using-front-matter doc, ELPA Syncer, 2022/08/05
- [elpa] externals/denote d57da9f475 1/9: Reposition helper function in the file, ELPA Syncer, 2022/08/05
- [elpa] externals/denote 7ce1f97844 4/9: Add denote-rename-file-using-front-matter y-or-n,
ELPA Syncer <=
- [elpa] externals/denote 5faa2b41b0 8/9: Clarify denote-rename-file-using-front-matter doc, ELPA Syncer, 2022/08/05
- [elpa] externals/denote 6fd162c9b0 9/9: Use consistent phrasing in doc string, ELPA Syncer, 2022/08/05
- [elpa] externals/denote b439189d13 6/9: Fix typo in 31e7364, ELPA Syncer, 2022/08/05
- [elpa] externals/denote 1e584e26dd 2/9: Update introduction to "Renaming files" section, ELPA Syncer, 2022/08/05