scroll-conservatively
to the value 101 or greater. However, I wanted to keep the default behaviour for other buffers, so I added the following to my .emacs.d/init.el
:
(defun em-erc-channel-join () (set (make-local-variable 'scroll-conservatively) 101)) (add-hook 'erc-join-hook 'em-erc-channel-join)
This will make sure that the value of this variable is only set for channel buffers.
No comments:
Post a Comment