if you enable this mode in mode (I'm sure you will have to request it explicitly), you can always add this to your .emacs
(add-hook 'ruby-mode-hook
(lambda()
(hl-line-mode -1)
(global-hl-line-mode -1))
't
)
as the last line of the configuration. 'timportant, as it tells emacs to add this hook to the end of all mode hooks
source
share