summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-03-02 05:40:25 +0000
committerjao <jao@gnu.org>2021-03-02 05:40:25 +0000
commit993396af8ad564e47bd75ac1e30ff08e36b8d6ff (patch)
treebb7373701b2f29c53c4e5909a55ce0c190180666 /lib
parent93acd981eddb8add92453559885a14e47b301651 (diff)
downloadelibs-993396af8ad564e47bd75ac1e30ff08e36b8d6ff.tar.gz
elibs-993396af8ad564e47bd75ac1e30ff08e36b8d6ff.tar.bz2
jao-org-notes: the famous (and superfluous) backlinks function
Diffstat (limited to 'lib')
-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