(fix): remove other occurrences of file-truename (#1125)

org-roam-buffer should no longer be resolving the symlinks as well.
This commit is contained in:
Jethro Kuan
2020-09-22 14:23:02 +08:00
committed by GitHub
parent f59c18fda5
commit d170c4ac85
3 changed files with 4 additions and 4 deletions

View File

@@ -224,7 +224,7 @@ This needs to be quick or infrequent, because this is run at
(when (and (or redisplay
(not (eq org-roam-buffer--current buffer)))
(eq 'visible (org-roam-buffer--visibility))
(buffer-local-value 'buffer-file-truename buffer))
(buffer-file-name buffer))
(setq org-roam-buffer--current buffer)
(org-roam-buffer-update))))