mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
Fix org-roam hooks not being attached on nested files (#82)
This commit is contained in:
@ -152,8 +152,8 @@ If called interactively, then PARENTS is non-nil."
|
||||
(defun org-roam--org-roam-file-p ()
|
||||
"Return t if file is part of org-roam system, false otherwise."
|
||||
(and (buffer-file-name (current-buffer))
|
||||
(f-child-of-p (file-truename (buffer-file-name (current-buffer)))
|
||||
org-roam-directory)))
|
||||
(f-descendant-of-p (file-truename (buffer-file-name (current-buffer)))
|
||||
org-roam-directory)))
|
||||
|
||||
(defun org-roam--get-title-from-cache (file)
|
||||
"Return title of `FILE' from the cache."
|
||||
|
Reference in New Issue
Block a user