diff options
| author | Gerd Moellmann | 2001-08-26 12:10:42 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-08-26 12:10:42 +0000 |
| commit | 08ead67bba4d1d18182ff2f23e7970644c251290 (patch) | |
| tree | e3b97036a0afa883e481174d61dd96ff818f5b2b | |
| parent | 1f7ebf7cbbb9cb816a358dc80f094494d1ffb545 (diff) | |
| download | emacs-08ead67bba4d1d18182ff2f23e7970644c251290.tar.gz emacs-08ead67bba4d1d18182ff2f23e7970644c251290.zip | |
(hl-line-mode): Add args INIT-VALUE, LIGHTER, and
KEYMAP to the call to define-minor-mode.
| -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 @@ | |||
| 1 | 2001-08-26 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * hl-line.el (hl-line-mode): Add args INIT-VALUE, LIGHTER, and | ||
| 4 | KEYMAP to the call to define-minor-mode. | ||
| 5 | |||
| 1 | 2001-08-24 Eli Zaretskii <eliz@is.elta.co.il> | 6 | 2001-08-24 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 7 | ||
| 3 | * term/internal.el (IT-character-translations) <hebrew-iso8859-8>: | 8 | * 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 @@ | |||
| 85 | With ARG, turn Hl-Line mode on if ARG is positive, off otherwise. | 85 | With ARG, turn Hl-Line mode on if ARG is positive, off otherwise. |
| 86 | Uses functions `hl-line-unhighlight' and `hl-line-highlight' on | 86 | Uses functions `hl-line-unhighlight' and `hl-line-highlight' on |
| 87 | `pre-command-hook' and `post-command-hook'." | 87 | `pre-command-hook' and `post-command-hook'." |
| 88 | nil nil nil | ||
| 88 | (if hl-line-mode | 89 | (if hl-line-mode |
| 89 | (progn | 90 | (progn |
| 90 | (add-hook 'pre-command-hook #'hl-line-unhighlight) | 91 | (add-hook 'pre-command-hook #'hl-line-unhighlight) |