mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
(hl-line-mode): Drop unneeded positional args.
This commit is contained in:
parent
72bf1a8b28
commit
3ed2ed36aa
1 changed files with 1 additions and 2 deletions
|
|
@ -85,8 +85,7 @@
|
||||||
With ARG, turn Hl-Line mode on if ARG is positive, off otherwise.
|
With ARG, turn Hl-Line mode on if ARG is positive, off otherwise.
|
||||||
Uses functions `hl-line-unhighlight' and `hl-line-highlight' on
|
Uses functions `hl-line-unhighlight' and `hl-line-highlight' on
|
||||||
`pre-command-hook' and `post-command-hook'."
|
`pre-command-hook' and `post-command-hook'."
|
||||||
nil nil nil :global t
|
:global t
|
||||||
|
|
||||||
(if hl-line-mode
|
(if hl-line-mode
|
||||||
(progn
|
(progn
|
||||||
(add-hook 'pre-command-hook #'hl-line-unhighlight)
|
(add-hook 'pre-command-hook #'hl-line-unhighlight)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue