summary refs log tree commit diff
path: root/emacs.d/custom
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-ui.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el
index 6f1e913..a59d29b 100644
--- a/emacs.d/custom/fcuny-ui.el
+++ b/emacs.d/custom/fcuny-ui.el
@@ -34,9 +34,12 @@
     (set-frame-font "Source Code Pro-11")))
 
 (use-package hl-line
-  :hook ((prog-mode puppet-mode dired-mode org-mode markdown-mode conf-mode yaml-mode) . hl-line-mode)
+  :hook ((prog-mode text-mode conf-mode special-mode) . hl-line-mode)
   :custom
-  (hl-line-sticky-flag nil))
+  ;; Not having to render the hl-line overlay in multiple buffers offers a tiny
+  ;; performance boost. I also don't need to see it in other buffers.
+  (hl-line-sticky-flag nil)
+  (global-hl-line-sticky-flag nil))
 
 (use-package uniquify
   :defer 5