I had the idea of doing this: (defun byte-recompile-directory (directory &optional arg force limit-buffer-saving) ... If forth argument LIMIT-BUFFER-SAVING is 'directory, only files within DIRECTORY would be saved. When LIMIT-BUFFER-SAVING is t no existing buffers would be checked for modification. But I found out out that having LIMIT-BUFFER-SAVING with value t like this would not work without an accompanying change to byte-recompile-file - since byte-recompile-file already checks whether there's a buffer for that file and that buffer is modified. So, since I don't think that doing changes to byte-recompile-file is the best idea, here's my current version. Also, note that the check in byte-recompile-file actually makes calling save-some-buffers somewhat redundant. -- Best Regards, Nikolay Kudryavtsev