Hi,
I use (global-hl-line-mode) to enable hl-line-mode, But i want to use it in certain mode like cc-mode, so i add this line to mode-hook, (setq hl-line-mode t), it doesn't work, i enable hl-line-mode use M-x, it shows disabled, which means at first, it's really enabled, but i can't see any highlight.
Same problem occurs to linum-mode, maybe there are others. Anyone knows what's wrong with it?
Thanks.