[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 860c5cca22 06/10: Show relative current file nam
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 860c5cca22 06/10: Show relative current file name in rename commands |
Date: |
Tue, 5 Dec 2023 03:58:14 -0500 (EST) |
branch: externals/denote
commit 860c5cca22f90c3029168b41110dbf18849d47d5
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Show relative current file name in rename commands
---
denote.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/denote.el b/denote.el
index 0098eb8d5f..7b95e9aa57 100644
--- a/denote.el
+++ b/denote.el
@@ -2488,7 +2488,7 @@ file-naming scheme."
(interactive
(let* ((file (denote--rename-dired-file-or-prompt))
(file-type (denote-filetype-heuristics file))
- (file-in-prompt (propertize file 'face
'denote-faces-prompt-current-name)))
+ (file-in-prompt (propertize (file-relative-name file) 'face
'denote-faces-prompt-current-name)))
(list
file
(denote-title-prompt
@@ -2535,7 +2535,7 @@ the changes made to the file: perform them outright."
(denote--get-all-used-ids))))
(dolist (file marks)
(let* ((file-type (denote-filetype-heuristics file))
- (file-in-prompt (propertize file 'face
'denote-faces-prompt-current-name))
+ (file-in-prompt (propertize (file-relative-name file) 'face
'denote-faces-prompt-current-name))
(dir (file-name-directory file))
(id (or (denote-retrieve-filename-identifier file :no-error)
(denote-create-unique-file-identifier file used-ids)))
- [elpa] externals/denote updated (f1a942f2e7 -> a44b129601), ELPA Syncer, 2023/12/05
- [elpa] externals/denote 9f0ecc8d65 02/10: Add missing REVERSE argument in denote-org-dblock--files, ELPA Syncer, 2023/12/05
- [elpa] externals/denote 2add39ecd7 03/10: Support signature links in denote-org-dblock--get-file-contents, ELPA Syncer, 2023/12/05
- [elpa] externals/denote 860c5cca22 06/10: Show relative current file name in rename commands,
ELPA Syncer <=
- [elpa] externals/denote 349b1ef898 07/10: Use correct indentation in denote-sort-files, ELPA Syncer, 2023/12/05
- [elpa] externals/denote 9c24528b3d 08/10: Define revert-buffer-function for denote-sort-dired, ELPA Syncer, 2023/12/05
- [elpa] externals/denote a44b129601 10/10: Update doc string of 'denote-org-dblock-insert-backlinks', ELPA Syncer, 2023/12/05
- [elpa] externals/denote 9d6b50b0c1 09/10: Add single prompt function for all "files matching regexp" type of prompts, ELPA Syncer, 2023/12/05
- [elpa] externals/denote 378873e83a 01/10: Make denote--keywords-add-to-history work only on a list, ELPA Syncer, 2023/12/05
- [elpa] externals/denote c4b3187039 04/10: Make 'denote-files' Org dynamic block file separator opt-in, ELPA Syncer, 2023/12/05
- [elpa] externals/denote 0fe7122f70 05/10: Store denote-link-with-signature format in a private variable, ELPA Syncer, 2023/12/05