mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
`get-file-buffer` returns nil if no buffer for that file already exists. In an edge case on Windows, `update-file-autoloads` doesn't leave a hanging buffer, possibly ignoring its SAVE-AFTER argument. Using `find-file-noselect` fixes this, which will open a buffer if one doesn't already exist.