about summary refs log tree commit diff
path: root/tools/emacs/config
diff options
context:
space:
mode:
Diffstat (limited to 'tools/emacs/config')
-rw-r--r--tools/emacs/config/look-and-feel.el3
-rw-r--r--tools/emacs/config/modes.el1
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/emacs/config/look-and-feel.el b/tools/emacs/config/look-and-feel.el
index 88cab18ed2e2..98716dde6465 100644
--- a/tools/emacs/config/look-and-feel.el
+++ b/tools/emacs/config/look-and-feel.el
@@ -90,9 +90,6 @@
 ;; Show column numbers in all buffers
 (column-number-mode t)
 
-;; Highlight currently active line
-(global-hl-line-mode t)
-
 (defalias 'yes-or-no-p 'y-or-n-p)
 (defalias 'auto-tail-revert-mode 'tail-mode)
 
diff --git a/tools/emacs/config/modes.el b/tools/emacs/config/modes.el
index ceef84b9626d..8d47f2f9a531 100644
--- a/tools/emacs/config/modes.el
+++ b/tools/emacs/config/modes.el
@@ -1,6 +1,7 @@
 ;; Initializes modes I use.
 
 (add-hook 'prog-mode-hook 'esk-add-watchwords)
+(add-hook 'prog-mode-hook 'hl-line-mode)
 
 ;; Use auto-complete as completion at point
 (defun set-auto-complete-as-completion-at-point-function ()