diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/hl-line.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d6b22e02e6d..ab2fb6207a2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2009-12-05 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925). | ||
| 4 | |||
| 1 | 2009-12-05 Alan Mackenzie <acm@muc.de> | 5 | 2009-12-05 Alan Mackenzie <acm@muc.de> |
| 2 | 6 | ||
| 3 | * progmodes/cc-mode.el (c-before-hack-hook) | 7 | * progmodes/cc-mode.el (c-before-hack-hook) |
diff --git a/lisp/hl-line.el b/lisp/hl-line.el index 7900cde4885..fe02c5de5ef 100644 --- a/lisp/hl-line.el +++ b/lisp/hl-line.el | |||
| @@ -176,7 +176,7 @@ Global-Hl-Line mode uses the functions `global-hl-line-unhighlight' and | |||
| 176 | (remove-hook 'post-command-hook #'global-hl-line-highlight))) | 176 | (remove-hook 'post-command-hook #'global-hl-line-highlight))) |
| 177 | 177 | ||
| 178 | (defun global-hl-line-highlight () | 178 | (defun global-hl-line-highlight () |
| 179 | "Active the Global-Hl-Line overlay on the current line in the current window." | 179 | "Highlight the current line in the current window." |
| 180 | (when global-hl-line-mode ; Might be changed outside the mode function. | 180 | (when global-hl-line-mode ; Might be changed outside the mode function. |
| 181 | (unless (window-minibuffer-p (selected-window)) | 181 | (unless (window-minibuffer-p (selected-window)) |
| 182 | (unless global-hl-line-overlay | 182 | (unless global-hl-line-overlay |