Can't you modify the functions that turn hl-line-mode on and off to
check what the current mode is and if it's included in your list of
modes for which you don't want hl-line-mode? I'm thinking of
something like this:
(add-hook 'viper-vi-state-hook
(lambda () (if (not (memq major-mode '(emacs-lisp-mode)))
(hl-line-mode 1))))
On Fri, Jun 17, 2011 at 9:16 PM, Thomas Hisch <[email protected]> wrote:
> yes that works! ( (interactive) is not needed there )
> The problem is still that i have some modes, in which hl-mode is disabled by
_______________________________________________
implementations-list mailing list
[email protected]
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list