diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-11-03 22:17:30 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-11-03 22:17:30 +0000 |
commit | d886d1f51e47adea61e1e5def0c46f0f45f3428a (patch) | |
tree | 6f2ac5c3478e5f323bb8b79a8c6775ccb5044027 /lisp/hl-line.el | |
parent | bb198a73414345dea57c773265ae24c35ad1de3e (diff) | |
download | emacs-d886d1f51e47adea61e1e5def0c46f0f45f3428a.tar.gz |
(hl-line-mode): Drop unneeded positional args.
Diffstat (limited to 'lisp/hl-line.el')
-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) |