summaryrefslogtreecommitdiffhomepage
path: root/lib/org/jao-org-notes.el
diff options
context:
space:
mode:
Diffstat (limited to 'lib/org/jao-org-notes.el')
-rw-r--r--lib/org/jao-org-notes.el3
1 files changed, 2 insertions, 1 deletions
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