mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
Exclude backup files from renaming advice (#915)
Co-authored-by: Leo Vivier <leo.vivier+dev@gmail.com>
This commit is contained in:
@ -1230,6 +1230,8 @@ replaced links are made relative to the current buffer."
|
||||
new-file-or-dir)))
|
||||
(when (and (not (auto-save-file-name-p old-file))
|
||||
(not (auto-save-file-name-p new-file))
|
||||
(not (backup-file-name-p old-file))
|
||||
(not (backup-file-name-p new-file))
|
||||
(org-roam--org-roam-file-p old-file))
|
||||
(org-roam-db--ensure-built)
|
||||
(let* ((old-path (file-truename old-file))
|
||||
|
Reference in New Issue
Block a user