diff options
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/hl-line.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a69502f41e3..00d5bbd2319 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-08-26 Gerd Moellmann <gerd@gnu.org> + + * hl-line.el (hl-line-mode): Add args INIT-VALUE, LIGHTER, and + KEYMAP to the call to define-minor-mode. + 2001-08-24 Eli Zaretskii <eliz@is.elta.co.il> * term/internal.el (IT-character-translations) <hebrew-iso8859-8>: 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) |