aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2019-01-31 14:27:43 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2019-01-31 14:27:43 +0100
commite4f98a759cf4a0d7084d1a6246885e23b27ddff7 (patch)
tree4f195b41116f922222c452ac0029577fdf8fea2b /emacs
parent4b277d6b013b8abab6b4526b4e5f8f3cb3a5c468 (diff)
downloaddotfiles-e4f98a759cf4a0d7084d1a6246885e23b27ddff7.tar.gz
dotfiles-e4f98a759cf4a0d7084d1a6246885e23b27ddff7.zip
emacs: ensure that global-hl-line-mode is enabled
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.org5
1 files changed, 2 insertions, 3 deletions
diff --git a/emacs/init.org b/emacs/init.org
index e9d0a9b..5ff8fcc 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -190,8 +190,7 @@ Highlight the current line:
#+BEGIN_SRC elisp
(use-package hl-line
- :config
- (global-hl-line-mode +1))
+ :ensure t)
#+END_SRC
** Basic editing configuration
@@ -233,7 +232,7 @@ Some editing tweaks like tabs vs spaces, maximum column width, etc.
;; Cursor
(blink-cursor-mode 0)
- (global-hl-line-mode -1)
+ (global-hl-line-mode +1)
(show-paren-mode 1)
#+END_SRC