I have Tabbar installed and when I am using some function like describe-key in emacs the resulting *help* buffer has a tab bar at the top. This is a waste of space and is distracting. How can I disable the tab bar in popup buffers or just special buffers in general?


(add-hook 'help-mode-hook 'tabbar-local-mode)


Toggle local display of the tab bar.
With prefix argument ARG, turn on if positive, otherwise off.
Returns non-nil if the new state is enabled.
When turned on, if a local header line is shown, it is hidden to show
the tab bar.  The tab bar is locally hidden otherwise.  When turned
off, if a local header line is hidden or the tab bar is locally
hidden, it is shown again.  Signal an error if Tabbar mode is off.
  • Awesome! This is just what I was looking for! Do you know if there would be some way to disable it in all special buffers? I could not find anything like a new-buffer-hook. – Prgrm.celeritas Dec 2 '16 at 23:38
  • Actually I found it. special-mode-hook. Thanks again! – Prgrm.celeritas Dec 2 '16 at 23:55
  • It only works the first time. – yPhil Feb 26 at 13:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.