Is there an emacs lisp function that will allow me to tell if a buffer is out of focus?
I am trying to write a hook that will get rid of the semantics *possible completion's* buffer right after it is out of focus.
Also is it possible to get rid of the *Messages* Buffer as well? I haven’t found a function that would kill it.
Related to your second question, Also is it possible to get rid of the Messages Buffer as well. If you’re using
ido-mode(and everyone should be using it!), you can hide the*Messages*buffer from the buffer listing with the following elisp: