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

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

[elpa] externals/denote 75531ca904: Fix regression in denote-type


From: ELPA Syncer
Subject: [elpa] externals/denote 75531ca904: Fix regression in denote-type
Date: Sat, 23 Jul 2022 08:57:32 -0400 (EDT)

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

    Fix regression in denote-type
    
    It would not use the correct file type extension for the file path, even
    though the correct front matter was picked.
    
    The regression was caused by the refactoring in commit a80ffc1.  For a
    discussion, see pull request 55 on the GitHub mirror:
    <https://github.com/protesilaos/denote/pull/55>.
---
 denote.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/denote.el b/denote.el
index 3752581567..4417efd0b8 100644
--- a/denote.el
+++ b/denote.el
@@ -699,6 +699,7 @@ With optional DATE, use it else use the current one."
 Arguments TITLE, KEYWORDS, DATE, ID, DIRECTORY, and FILE-TYPE
 should be valid for note creation."
   (let* ((default-directory directory)
+         (denote-file-type file-type)
          (path (denote--path title keywords default-directory id))
          (buffer (find-file path))
          (header (denote--file-meta-header



reply via email to

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