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 | 3ed2ed36aa92d6f00d178c5fdc9f83c1daee76bf (patch) | |
tree | cce92785d7d57bbe3608ace9ff675872d8407fae /lisp/hl-line.el | |
parent | 72bf1a8b28e1bca15516f6629ba3296f4804b6ba (diff) | |
download | emacs-3ed2ed36aa92d6f00d178c5fdc9f83c1daee76bf.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) |