Commit 503edac9 authored by Chong Yidong's avatar Chong Yidong
Browse files

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

parent 8fea6b33
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> 2009-12-05 Alan Mackenzie <acm@muc.de>
* progmodes/cc-mode.el (c-before-hack-hook) * progmodes/cc-mode.el (c-before-hack-hook)
......
...@@ -176,7 +176,7 @@ Global-Hl-Line mode uses the functions `global-hl-line-unhighlight' and ...@@ -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))) (remove-hook 'post-command-hook #'global-hl-line-highlight)))
(defun 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. (when global-hl-line-mode ; Might be changed outside the mode function.
(unless (window-minibuffer-p (selected-window)) (unless (window-minibuffer-p (selected-window))
(unless global-hl-line-overlay (unless global-hl-line-overlay
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment