From cf1c81cba9012a8ec8a06bd549f116b7b06a57fc Mon Sep 17 00:00:00 2001 From: Protesilaos Date: Sat, 23 May 2026 23:12:49 +0300 Subject: [PATCH] Make stylistic tweak to denote-file-prompt--format-identifier --- denote.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/denote.el b/denote.el index 3755969..bd6dd9a 100644 --- a/denote.el +++ b/denote.el @@ -1493,8 +1493,9 @@ there.") (defun denote-file-prompt--format-identifier (file) "Return identifier of FILE for `denote-file-prompt-affixate'." (when-let* ((identifier (denote-retrieve-filename-identifier file)) - (date-or-id (or (ignore-errors (denote-id-to-date identifier)) identifier))) - (format "%s " (propertize date-or-id 'face 'completions-annotations)))) + (date-or-id (or (ignore-errors (denote-id-to-date identifier)) identifier)) + (propertized (propertize date-or-id 'face 'completions-annotations))) + (format "%s " propertized))) (defun denote-file-prompt--format-keywords-and-signature (file) "Return keywords and signature of FILE for `denote-file-prompt-affixate'."