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

master
Kevin Liu 6 years ago committed by GitHub
parent 9aba7ee094
commit f048a6b866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      org-roam.el

@ -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."

Loading…
Cancel
Save