Emacs Lisp Buffer out of focus function?

后端 未结 3 716
说谎
说谎 2021-01-25 03:18

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 co

3条回答
  •  忘了有多久
    2021-01-25 03:55

    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:

    (require 'ido)
    (setq ido-ignore-buffers '("^\*Messages\*"))
    

提交回复
热议问题