mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
Make denote-org-extras--get-backlinks-buffer-name use xrefs with absolute path
This commit is contained in:
parent
fb375dc623
commit
4eaa943f1b
|
|
@ -144,6 +144,7 @@ If FILE is nil, use the variable `buffer-file-name'."
|
|||
(defun denote-org-extras--get-backlinks-for-heading (file-and-heading-id)
|
||||
"Get backlinks to FILE-AND-HEADING-ID as a list of strings."
|
||||
(when-let ((files (denote-directory-files nil :omit-current :text-only))
|
||||
(xref-file-name-display 'abs)
|
||||
(matches-in-files (xref-matches-in-files file-and-heading-id files))
|
||||
(xref-alist (xref--analyze matches-in-files)))
|
||||
(mapcar
|
||||
|
|
|
|||
Loading…
Reference in a new issue