summary refs log tree commit diff
path: root/emacs.d/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2020-03-12 17:10:28 -0700
committerFranck Cuny <franck.cuny@gmail.com>2020-03-12 17:31:27 -0700
commita6eaedbbdc972d4eff14f6e2778feb1e06661801 (patch)
tree88d4315418ae6db832b19fb71489f9a0bdc47a15 /emacs.d/custom
parent[emacs] size of the font (diff)
downloademacs.d-a6eaedbbdc972d4eff14f6e2778feb1e06661801.tar.gz
[emacs] hl-line mode configuration
Do not enable it for everything (for example I don't want it in the
various shells).

I also want to make sure the stickiness is not enabled (I don't want to
see two lines highlighted if I've two frames open).
Diffstat (limited to 'emacs.d/custom')
-rw-r--r--emacs.d/custom/fcuny-ui.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el
index 9a96bb0..a194d1e 100644
--- a/emacs.d/custom/fcuny-ui.el
+++ b/emacs.d/custom/fcuny-ui.el
@@ -37,9 +37,9 @@
     (display-time-mode t)))
 
 (use-package hl-line
-  :config
-  (set-face-background 'hl-line "#E0EBF5")
-  (global-hl-line-mode t))
+  :hook ((prog-mode puppet-mode dired-mode org-mode markdown-mode) . hl-line-mode)
+  :custom
+  (hl-line-sticky-flag nil))
 
 (use-package uniquify
   :defer 5