Fix auto save buffer in org-roam-doctor (#1493)

master
Troy Hinckley 5 years ago committed by GitHub
parent 15c1a46e41
commit d2e933cc3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      org-roam-doctor.el

@ -308,7 +308,8 @@ If CHECKALL, run the check for all Org-roam files."
(let ((buf (find-file-noselect f)))
(org-roam-doctor--check buf checkers)
(unless (memq buf existing-buffers)
(save-buffer buf)
(with-current-buffer buf
(save-buffer))
(kill-buffer buf))))))
(org-roam-message "Linting completed."))

Loading…
Cancel
Save