From 993396af8ad564e47bd75ac1e30ff08e36b8d6ff Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 2 Mar 2021 05:40:25 +0000 Subject: jao-org-notes: the famous (and superfluous) backlinks function --- lib/org/jao-org-notes.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/org') diff --git a/lib/org/jao-org-notes.el b/lib/org/jao-org-notes.el index e2b3a3c..3a7d7fe 100644 --- a/lib/org/jao-org-notes.el +++ b/lib/org/jao-org-notes.el @@ -133,7 +133,8 @@ ;;;###autoload (defun jao-org-notes-backlinks () (interactive) - (consult-ripgrep jao-org-notes-dir (regexp-quote (buffer-name)))) + (consult-ripgrep jao-org-notes-dir + (concat "\\[\\[file:(.*/)?" (regexp-quote (buffer-name))))) (provide 'jao-org-notes) ;;; jao-org-notes.el ends here -- cgit v1.2.3