mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-13 08:46:25 -04:00
Change how 4cb216e did denote-rename-confirmations for denote-rename-file-using-front-matter
We do not want to hardcode a value, but only remove the prompt that is not relevant to this command.
This commit is contained in:
parent
1cf2ca6bb4
commit
9440f7134f
|
|
@ -5,7 +5,7 @@
|
|||
;; Author: Protesilaos Stavrou <info@protesilaos.com>
|
||||
;; Maintainer: Protesilaos Stavrou <info@protesilaos.com>
|
||||
;; URL: https://github.com/protesilaos/denote
|
||||
;; Version: 3.0.4
|
||||
;; Version: 3.0.5
|
||||
;; Package-Requires: ((emacs "28.1"))
|
||||
|
||||
;; This file is NOT part of GNU Emacs.
|
||||
|
|
@ -3236,7 +3236,7 @@ Construct the file name in accordance with the user option
|
|||
(if-let ((file-type (denote-filetype-heuristics file))
|
||||
(front-matter-title (denote-retrieve-front-matter-title-value file file-type))
|
||||
(id (denote-retrieve-filename-identifier file))
|
||||
(denote-rename-confirmations '(modify-file-name)))
|
||||
(denote-rename-confirmations (delete 'modify-file-name denote-rename-confirmations)))
|
||||
(pcase-let* ((denote-prompts '())
|
||||
(front-matter-keywords (denote-retrieve-front-matter-keywords-value file file-type))
|
||||
(`(_title _keywords ,signature ,date)
|
||||
|
|
|
|||
Loading…
Reference in a new issue