[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 4ce8c6701c 03/10: Fix denote--rename-file
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 4ce8c6701c 03/10: Fix denote--rename-file |
Date: |
Sun, 31 Jul 2022 01:57:29 -0400 (EDT) |
branch: externals/denote
commit 4ce8c6701c45b41b5192413bed92cd7e647a7ddf
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Fix denote--rename-file
---
denote.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/denote.el b/denote.el
index f008ed938e..8d124e6b59 100644
--- a/denote.el
+++ b/denote.el
@@ -1105,10 +1105,11 @@ The return value is for `denote--file-meta-header'."
(defun denote--rename-file (old-name new-name)
"Rename file named OLD-NAME to NEW-NAME.
Update Dired buffers if the file is renamed.
-Return non-nil if the file is renamed, nil otherwise."
+Return t if the file is renamed, nil otherwise."
(unless (string= (expand-file-name old-name) (expand-file-name new-name))
(rename-file old-name new-name nil)
- (denote--rename-buffer old-name new-name)))
+ (denote--rename-buffer old-name new-name)
+ t))
(defun denote--add-front-matter (file title keywords id)
"Prepend front matter to FILE if `denote--only-note-p'.
- [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 <=
- [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, 2022/07/31
- [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