aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-12-05 20:56:42 +0000
committerChong Yidong2009-12-05 20:56:42 +0000
commit503edac9d6283c9bea492000369605e948af1fe7 (patch)
tree0577e26a0572c2a577b04e8a35f8b6054c7acf3c
parent8fea6b333da8cf55597930215ac00480b20f1266 (diff)
downloademacs-503edac9d6283c9bea492000369605e948af1fe7.tar.gz
emacs-503edac9d6283c9bea492000369605e948af1fe7.zip
* hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/hl-line.el2
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 @@
12009-12-05 Chong Yidong <cyd@stupidchicken.com>
2
3 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
4
12009-12-05 Alan Mackenzie <acm@muc.de> 52009-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