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

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

[elpa] externals/denote d6285c8c5a 182/355: Omit current file from backl


From: ELPA Syncer
Subject: [elpa] externals/denote d6285c8c5a 182/355: Omit current file from backlinks
Date: Sun, 26 Jun 2022 23:58:22 -0400 (EDT)

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

    Omit current file from backlinks
---
 denote-link.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/denote-link.el b/denote-link.el
index 57ab0f73d0..d71abe656c 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -193,7 +193,8 @@ PROOF-OF-CONCEPT."
          (id (denote-retrieve--filename-identifier file))
          (buf (format "*denote-backlinks to %s*" id)))
   (compilation-start
-   (format "find * -type f -exec %s --color=auto -l -m 1 -e %s %s %s"
+   (format "find * -type f ! -name '%s' -exec %s --color=auto -l -m 1 -e %s %s 
%s"
+           file
            grep-program
            id
            (shell-quote-argument "{}")



reply via email to

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