emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote df82fcf176 01/19: Fix nil title error in denote-


From: ELPA Syncer
Subject: [elpa] externals/denote df82fcf176 01/19: Fix nil title error in denote-change-file-type-and-front-matter
Date: Sat, 2 Dec 2023 03:57:52 -0500 (EST)

branch: externals/denote
commit df82fcf176dfe0b106d6897bd9f8525967af80f4
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Fix nil title error in denote-change-file-type-and-front-matter
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 2ac2de0c11..3aa9ee4bfb 100644
--- a/denote.el
+++ b/denote.el
@@ -2692,7 +2692,7 @@ of the file.  This needs to be done manually."
   (let* ((dir (file-name-directory file))
          (old-file-type (denote-filetype-heuristics file))
          (id (or (denote-retrieve-filename-identifier file :no-error) ""))
-         (title (denote-retrieve-title-value file old-file-type))
+         (title (denote--retrieve-title-or-filename file old-file-type))
          (keywords (denote-retrieve-keywords-value file old-file-type))
          (signature (denote-retrieve-filename-signature file))
          (old-extension (denote-get-file-extension file))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]