(bugfix): org-roam--org-roam-file-p: add a missed file-truename (#88)

This commit is contained in:
Kevin Liu
2020-02-15 19:33:31 -08:00
committed by GitHub
parent 9aba7ee094
commit f048a6b866

View File

@@ -153,7 +153,7 @@ If called interactively, then PARENTS is non-nil."
"Return t if file is part of org-roam system, false otherwise."
(and (buffer-file-name (current-buffer))
(f-descendant-of-p (file-truename (buffer-file-name (current-buffer)))
org-roam-directory)))
(file-truename org-roam-directory))))
(defun org-roam--get-title-from-cache (file)
"Return title of `FILE' from the cache."