How can I chance an Emacs config setting (let's say "highlighting of current line") that I set in .emacs
as (global-hl-line-mode +1)
, to work for all modes except one.
For example, I want highlighting of current line to be on for all modes except org-mode
.
A great solution would be one that would also be applicable to customizing theme to be different by major mode (though file type could work fine for this too).