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

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

[elpa] externals/denote 833fa1a210 02/22: Make denote--path use signatur


From: ELPA Syncer
Subject: [elpa] externals/denote 833fa1a210 02/22: Make denote--path use signature only if present
Date: Mon, 20 Mar 2023 05:57:47 -0400 (EDT)

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

    Make denote--path use signature only if present
    
    Thanks to Mirko Hernandez for informing me about this in issue 115 on
    the GitHub mirror: <https://github.com/protesilaos/denote/issues/115>.
---
 denote.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index ff27060b59..4625db6d8b 100644
--- a/denote.el
+++ b/denote.el
@@ -1407,7 +1407,8 @@ construct path to DIR."
    (denote-sluggify-keywords keywords)
    (denote-sluggify title)
    (denote--file-extension file-type)
-   (denote--slug-no-punct signature)))
+   (when signature
+     (denote--slug-no-punct signature))))
 
 ;; Adapted from `org-hugo--org-date-time-to-rfc3339' in the `ox-hugo'
 ;; package: <https://github.com/kaushalmodi/ox-hugo>.



reply via email to

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