Fix rspec-toggle-compilation-buffer
Extract a function to display the compilation buffer