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

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

[elpa] externals/denote 342330d984 2/2: Re-indent a few lines


From: ELPA Syncer
Subject: [elpa] externals/denote 342330d984 2/2: Re-indent a few lines
Date: Wed, 9 Nov 2022 11:57:51 -0500 (EST)

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

    Re-indent a few lines
---
 denote.el | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/denote.el b/denote.el
index 3721df9f51..a6c26fe7d1 100644
--- a/denote.el
+++ b/denote.el
@@ -2928,9 +2928,8 @@ inserts links with just the identifier."
     current-prefix-arg))
   (let* ((current-file (buffer-file-name))
          (file-type (denote-filetype-heuristics current-file)))
-    (if-let ((files (delete
-                     current-file
-                     (denote-directory-files-matching-regexp regexp)))
+    (if-let ((files (delete current-file
+                            (denote-directory-files-matching-regexp regexp)))
              (beg (point)))
         (progn
           (insert (denote-link--prepare-links files file-type id-only))
@@ -2955,9 +2954,8 @@ inserts links with just the identifier."
          (file-type (denote-filetype-heuristics current-file))
          (current-id (denote--link-in-context-regexp file-type))
          (linked-files (denote-link--expand-identifiers current-id)))
-  (if-let* ((found-files (delete
-                          current-file
-                          (denote-directory-files-matching-regexp regexp)))
+    (if-let* ((found-files (delete current-file
+                                   (denote-directory-files-matching-regexp 
regexp)))
               (final-files (seq-difference found-files linked-files))
               (beg (point)))
         (progn



reply via email to

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