Skip to content

Commit

Permalink
Fix backlinks buffer
Browse files Browse the repository at this point in the history
- Clicking on a link in a file in a subdirectory should open the linked file.
  • Loading branch information
jeanphilippegg committed Aug 9, 2022
1 parent 9b43107 commit e9c55bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions denote.el
Expand Up @@ -1900,6 +1900,7 @@ Use optional TITLE for a prettier heading."
(let ((inhibit-read-only t)
(buf (format "*denote-backlinks to %s*" id)))
(with-current-buffer (get-buffer-create buf)
(setq default-directory (denote-directory))
(erase-buffer)
(special-mode)
(goto-char (point-min))
Expand Down

0 comments on commit e9c55bd

Please sign in to comment.