diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2020-03-12 17:10:28 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2020-03-12 17:31:27 -0700 |
commit | a6eaedbbdc972d4eff14f6e2778feb1e06661801 (patch) | |
tree | 88d4315418ae6db832b19fb71489f9a0bdc47a15 | |
parent | [emacs] size of the font (diff) | |
download | emacs.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).
-rw-r--r-- | emacs.d/custom/fcuny-ui.el | 6 |
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 |