[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 1a1f3fb7cf 02/10: Use denote--rename-file in ren
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 1a1f3fb7cf 02/10: Use denote--rename-file in renaming functions |
Date: |
Sun, 31 Jul 2022 01:57:29 -0400 (EDT) |
branch: externals/denote
commit 1a1f3fb7cf3fef29640c7386b32e044058f5f99a
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Use denote--rename-file in renaming functions
---
denote-dired.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/denote-dired.el b/denote-dired.el
index 8a1508aa91..c0ce3c148d 100644
--- a/denote-dired.el
+++ b/denote-dired.el
@@ -407,8 +407,7 @@ The operation does the following:
(extension (file-name-extension file t))
(new-name (denote--format-file
dir id keywords (denote--sluggify title)
extension)))
- (rename-file file new-name)
- (denote--rename-buffer file new-name)
+ (denote--rename-file file new-name)
(when rewrite
(denote--rewrite-keywords new-name keywords))))
(revert-buffer)))
@@ -442,8 +441,7 @@ doc string)."
(extension (file-name-extension file t))
(new-name (denote--format-file
dir id keywords (denote--sluggify title)
extension)))
- (rename-file file new-name)
- (denote--rename-buffer file new-name)
+ (denote--rename-file file new-name)
(denote--add-front-matter new-name title keywords id)))
(revert-buffer))
(user-error "No marked files; aborting")))
- [elpa] externals/denote updated (b88eaf36a4 -> 95ee2d4f38), ELPA Syncer, 2022/07/31
- [elpa] externals/denote 7a8143a7c3 01/10: Rename denote-dired--rename-file to denote-dired--rename-file-prompt, ELPA Syncer, 2022/07/31
- [elpa] externals/denote 4ce8c6701c 03/10: Fix denote--rename-file, ELPA Syncer, 2022/07/31
- [elpa] externals/denote 3453f409a3 05/10: Rename internal functions, ELPA Syncer, 2022/07/31
- [elpa] externals/denote 8989d98d2c 08/10: Remove 'require' for dired in denote-dired.el, ELPA Syncer, 2022/07/31
- [elpa] externals/denote 35e2d93bfa 04/10: Move renaming commands from denote-dired.el to denote.el, ELPA Syncer, 2022/07/31
- [elpa] externals/denote 9246831598 06/10: Merge pull request #67 from jeanphilippegg/reorganization, ELPA Syncer, 2022/07/31
- [elpa] externals/denote 95ee2d4f38 10/10: Put require call at the top, ELPA Syncer, 2022/07/31
- [elpa] externals/denote 1a1f3fb7cf 02/10: Use denote--rename-file in renaming functions,
ELPA Syncer <=
- [elpa] externals/denote b78834c8fa 07/10: Remove obsoletion warnings from older versions, ELPA Syncer, 2022/07/31
- [elpa] externals/denote 79f5b62aa6 09/10: Merge all ancillary files into denote.el, ELPA Syncer, 2022/07/31