diff --git a/emacs.d/ui.el b/emacs.d/ui.el index 77b782a..9ad3e39 100644 --- a/emacs.d/ui.el +++ b/emacs.d/ui.el @@ -5,10 +5,8 @@ (setopt display-line-numbers-width 3) (add-hook 'text-mode-hook 'visual-line-mode) - -(dolist (hook '(text-mode-hook - prog-mode-hook)) - (add-hook hook 'hl-line-mode)) +(add-hook 'text-mode-hook 'hl-line-mode) +(add-hook 'prog-mode-hook 'hl-line-mode) (setopt x-underline-at-descent-line nil) (setopt switch-to-buffer-obey-display-actions 1)