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

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

[elpa] externals/denote f0dedb320b 1/2: Fix missing parens in denote-lin


From: ELPA Syncer
Subject: [elpa] externals/denote f0dedb320b 1/2: Fix missing parens in denote-link-ol-store
Date: Mon, 26 Sep 2022 08:57:29 -0400 (EDT)

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

    Fix missing parens in denote-link-ol-store
    
    This was a regression caused by commit a74adca.  Thanks to Elias
    Storms for reporting a potentially related bug on the mailing list:
    
<https://lists.sr.ht/~protesilaos/denote/%3C15D55F4B-64D1-4083-AD5E-B5BACA8F1909%40ap.be%3E>.
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index c3241b0f60..c9c3810784 100644
--- a/denote.el
+++ b/denote.el
@@ -2588,7 +2588,7 @@ interface by first selecting the `denote:' hyperlink 
type."
 (defun denote-link-ol-store()
   "Handler for `org-store-link' adding support for denote: links."
   (when-let* ((file (buffer-file-name))
-              (denote-file-is-note-p file)
+              ((denote-file-is-note-p file))
               (file-type (denote-filetype-heuristics file))
               (file-id (denote-retrieve-filename-identifier file))
               (file-title (denote--retrieve-title-or-filename file file-type)))



reply via email to

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