diff options
| -rw-r--r-- | lisp/hl-line.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/hl-line.el b/lisp/hl-line.el index 22d4719fae7..d30f20a8843 100644 --- a/lisp/hl-line.el +++ b/lisp/hl-line.el | |||
| @@ -85,8 +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 :global t | 88 | :global t |
| 89 | |||
| 90 | (if hl-line-mode | 89 | (if hl-line-mode |
| 91 | (progn | 90 | (progn |
| 92 | (add-hook 'pre-command-hook #'hl-line-unhighlight) | 91 | (add-hook 'pre-command-hook #'hl-line-unhighlight) |