(fix): Adapt get-title-or-slug to new schemata (#916)
Follow-up to #908.
This commit is contained in:
parent
f1dbe3fdf9
commit
ef23f507ec
1 changed files with 1 additions and 1 deletions
|
@ -775,7 +775,7 @@ Examples:
|
|||
|
||||
(defun org-roam--get-title-or-slug (path)
|
||||
"Convert `PATH' to the file title, if it exists. Else, return the path."
|
||||
(or (car (org-roam-db--get-titles path))
|
||||
(or (org-roam-db--get-titles path)
|
||||
(org-roam--path-to-slug path)))
|
||||
|
||||
(defun org-roam--title-to-slug (title)
|
||||
|
|
Loading…
Reference in a new issue