# HG changeset patch # User Stefan Monnier # Date 973289850 0 # Node ID b8a47482f3cd7c168d870e8b88178b53a3611f9f # Parent c63d52fc1eb7f70bbdc7865e56bc7d8b29c2bffe (hl-line-mode): Drop unneeded positional args. diff -r c63d52fc1eb7 -r b8a47482f3cd lisp/hl-line.el --- 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)