diff options
author | jao <jao@gnu.org> | 2021-03-02 05:40:25 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-03-02 05:40:25 +0000 |
commit | 993396af8ad564e47bd75ac1e30ff08e36b8d6ff (patch) | |
tree | bb7373701b2f29c53c4e5909a55ce0c190180666 /lib/org | |
parent | 93acd981eddb8add92453559885a14e47b301651 (diff) | |
download | elibs-993396af8ad564e47bd75ac1e30ff08e36b8d6ff.tar.gz elibs-993396af8ad564e47bd75ac1e30ff08e36b8d6ff.tar.bz2 |
jao-org-notes: the famous (and superfluous) backlinks function
Diffstat (limited to 'lib/org')
-rw-r--r-- | lib/org/jao-org-notes.el | 3 |
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 |