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

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

[elpa] externals/denote a5940b315a 265/355: Replace needless 'let*' with


From: ELPA Syncer
Subject: [elpa] externals/denote a5940b315a 265/355: Replace needless 'let*' with 'let'
Date: Sun, 26 Jun 2022 23:58:31 -0400 (EDT)

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

    Replace needless 'let*' with 'let'
---
 denote-link.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/denote-link.el b/denote-link.el
index 2ff9a91f4c..2bb9fd0e10 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -120,9 +120,9 @@ and/or the documentation string of `display-buffer'."
 
 (defun denote-link--format-link (file pattern)
   "Prepare link to FILE using PATTERN."
-  (let* ((file-id (denote-retrieve--filename-identifier file))
-         (file-title (unless (string= pattern denote-link--format-id-only)
-                       (denote-retrieve--value-title file))))
+  (let ((file-id (denote-retrieve--filename-identifier file))
+        (file-title (unless (string= pattern denote-link--format-id-only)
+                      (denote-retrieve--value-title file))))
     (format pattern file-id file-title)))
 
 (defun denote-link--extension-format-or-id (id-only)



reply via email to

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