I think it is somewhat annoying when I install a Lisp package and it asks me whether I want to save a completely unrelated buffer in some other project. This is especially true, if this unrelated buffer has a function like check-parens on its after-save-hook, which may signal an error, and in turn will abort the whole package installation. The buffer saving happens in byte-recompile-directory via save-some-buffer. So I wonder, if this can be made more selective, like so: