Mercurial > emacs
changeset 33187:b8a47482f3cd
(hl-line-mode): Drop unneeded positional args.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 03 Nov 2000 22:17:30 +0000 |
parents | c63d52fc1eb7 |
children | 387b12461c12 |
files | lisp/hl-line.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/hl-line.el Fri Nov 03 22:15:51 2000 +0000 +++ b/lisp/hl-line.el Fri Nov 03 22:17:30 2000 +0000 @@ -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)