~protesilaos/denote

860c5cca22f90c3029168b41110dbf18849d47d5 — Protesilaos Stavrou 2 months ago 0fe7122
Show relative current file name in rename commands
1 files changed, 2 insertions(+), 2 deletions(-)

M denote.el
M denote.el => denote.el +2 -2
@@ 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)))