Closed Zulu-Inuoe closed 5 years ago
I look forward to this being merged. Emacs slows to a crawl after a short while without this.
Sorry about that! e935c88 is broken because I didn't quote the found
catch tag. Pushed a new fix
Thanks a lot! Merged.
This fixes #149
The main fix is to not calculate the list of 'other buffers with same purpose' unless we're going to be replacing the buffer. This prevents calculating said list for buffers that aren't being displayed on any window, in particular, background buffers created with
with-temp-buffer
and the like.Additionally, minor efficiency improvements for calculating buffer purpose are included