1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

* hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).

This commit is contained in:
Chong Yidong 2009-12-05 20:56:42 +00:00
parent 8fea6b333d
commit 503edac9d6
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-12-05 Chong Yidong <cyd@stupidchicken.com>
* hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
2009-12-05 Alan Mackenzie <acm@muc.de>
* progmodes/cc-mode.el (c-before-hack-hook)

View File

@ -176,7 +176,7 @@ Global-Hl-Line mode uses the functions `global-hl-line-unhighlight' and
(remove-hook 'post-command-hook #'global-hl-line-highlight)))
(defun global-hl-line-highlight ()
"Active the Global-Hl-Line overlay on the current line in the current window."
"Highlight the current line in the current window."
(when global-hl-line-mode ; Might be changed outside the mode function.
(unless (window-minibuffer-p (selected-window))
(unless global-hl-line-overlay