Mercurial > emacs
changeset 38955:9bdcb656d1cf
(hl-line-mode): Add args INIT-VALUE, LIGHTER, and
KEYMAP to the call to define-minor-mode.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 26 Aug 2001 12:08:58 +0000 |
parents | 5c282c7df1cf |
children | 6a3ea27cac3b |
files | lisp/hl-line.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/hl-line.el Sat Aug 25 20:44:44 2001 +0000 +++ b/lisp/hl-line.el Sun Aug 26 12:08:58 2001 +0000 @@ -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)