However, this is making buffer-list hard to read if the emacs window is and narrow. How I can I set it up so I can have buffer-list (and potentially other buffers) to truncate mode?
Most modes have a hook that runs when the mode is set, usually named on the form ...-mode-hook. You could add to a modes' hook to truncate lines (effectively turning off visual-line-mode):
(add-hook
'speedbar-mode-hook
'(lambda ()
(visual-line-mode 0) ; disable only in the buffer sr-speedbar
)
)
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more