Some buffers are created by Emacs and is set in fundamental mode, like the *Org-Babel results*
. I think it is more convenient to set them in special mode, which can be closed with key q
. How do set the mode for those automatic buffers or if the name contains *
?
Lawlist and Drew's comments below show possible ways to do it, what I want is a special-display buffers for some buffers with *...*
names. The appropriate way of course is to find the function for creating the buffer and change it in the package, but it doesn't suit everybody.
Since special-display-regexps
is obsolete, can anyone help me on an display-buffer-alist
with a custom function to look for *Org-Babel Results*
and set it to special mode?