(fix): Update rename-file-advice to new schemata (#917)
Caused by #908.
This commit is contained in:
parent
ef23f507ec
commit
fffef6711f
1 changed files with 1 additions and 1 deletions
|
@ -1236,7 +1236,7 @@ replaced links are made relative to the current buffer."
|
|||
(new-path (file-truename new-file))
|
||||
(old-slug (org-roam--get-title-or-slug old-file))
|
||||
(old-desc (org-roam--format-link-title old-slug))
|
||||
(new-slug (or (car (org-roam-db--get-titles old-path))
|
||||
(new-slug (or (org-roam-db--get-titles old-path)
|
||||
(org-roam--path-to-slug new-path)))
|
||||
(new-desc (org-roam--format-link-title new-slug))
|
||||
(new-buffer (or (find-buffer-visiting new-path)
|
||||
|
|
Loading…
Reference in a new issue