diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-08-26 12:10:42 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-08-26 12:10:42 +0000 |
commit | 08ead67bba4d1d18182ff2f23e7970644c251290 (patch) | |
tree | e3b97036a0afa883e481174d61dd96ff818f5b2b /lisp/hl-line.el | |
parent | 1f7ebf7cbbb9cb816a358dc80f094494d1ffb545 (diff) | |
download | emacs-08ead67bba4d1d18182ff2f23e7970644c251290.tar.gz |
(hl-line-mode): Add args INIT-VALUE, LIGHTER, and
KEYMAP to the call to define-minor-mode.
Diffstat (limited to 'lisp/hl-line.el')
-rw-r--r-- | lisp/hl-line.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/hl-line.el b/lisp/hl-line.el index 3107b2ac451..e37bdf412c2 100644 --- a/lisp/hl-line.el +++ b/lisp/hl-line.el @@ -85,6 +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 (if hl-line-mode (progn (add-hook 'pre-command-hook #'hl-line-unhighlight) |