diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/hl-line.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/hl-line.el b/lisp/hl-line.el index 22d4719fae7..d30f20a8843 100644 --- a/lisp/hl-line.el +++ b/lisp/hl-line.el @@ -85,8 +85,7 @@ With ARG, turn Hl-Line mode on if ARG is positive, off otherwise. Uses functions `hl-line-unhighlight' and `hl-line-highlight' on `pre-command-hook' and `post-command-hook'." - nil nil nil :global t - + :global t (if hl-line-mode (progn (add-hook 'pre-command-hook #'hl-line-unhighlight) |