mirror of
https://github.com/org-roam/org-roam
synced 2025-09-16 15:56:48 -05:00
Fix auto save buffer in org-roam-doctor (#1493)
This commit is contained in:
@@ -308,7 +308,8 @@ If CHECKALL, run the check for all Org-roam files."
|
|||||||
(let ((buf (find-file-noselect f)))
|
(let ((buf (find-file-noselect f)))
|
||||||
(org-roam-doctor--check buf checkers)
|
(org-roam-doctor--check buf checkers)
|
||||||
(unless (memq buf existing-buffers)
|
(unless (memq buf existing-buffers)
|
||||||
(save-buffer buf)
|
(with-current-buffer buf
|
||||||
|
(save-buffer))
|
||||||
(kill-buffer buf))))))
|
(kill-buffer buf))))))
|
||||||
(org-roam-message "Linting completed."))
|
(org-roam-message "Linting completed."))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user