branch: externals/denote
commit f6243f1ecb31a5aec49937581e2f45171d23e707
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Make stylistic change to an if-let in denote-file-prompt-group
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 86609efcd3..a08686f208 100644
--- a/denote.el
+++ b/denote.el
@@ -1475,7 +1475,7 @@ there.")
   (cond
    (transform
     (if-let* ((title (denote-retrieve-filename-title file)))
-        (if-let* ((in-subdir-p (string-match-p "/" file))
+        (if-let* ((_ (string-match-p "/" file))
                   (components (split-string file "/"))
                   (dir (string-join (butlast components) "/")))
             (format "%s: %s" (propertize dir 'face 'shadow) title)

Reply via email to