i enable hl mode in global scope using the following code.
(global-hl-line-mode t)
disable the hl-line function in the specified mode. I am doing this with the following code.
(add-hook 'org-mode-hook (lambda () (global-hl-line-mode 0)))
but it disables the hl-line function for the global area.
How to disable the hl-line function in the specified mode?
source share