From 3ed2ed36aa92d6f00d178c5fdc9f83c1daee76bf Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 3 Nov 2000 22:17:30 +0000 Subject: [PATCH] (hl-line-mode): Drop unneeded positional args. --- lisp/hl-line.el | 3 +-- 1 file changed, 1 insertion(+), 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) -- 2.39.5