Mercurial > emacs
changeset 42842:f56af27693dc
Comment changes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 20 Jan 2002 09:27:07 +0000 |
parents | 53efbea4c58b |
children | 49c29a684355 |
files | lisp/hl-line.el |
diffstat | 1 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/hl-line.el Sat Jan 19 21:30:53 2002 +0000 +++ b/lisp/hl-line.el Sun Jan 20 09:27:07 2002 +0000 @@ -25,15 +25,17 @@ ;;; Commentary: -;; Provides a global minor mode (toggled by M-x hl-line-mode) to -;; highlight, on a suitable terminal, the line in the current window -;; on which point is (except in a minibuffer window). Done to satisfy -;; a request for a feature of Lesser Editors. +;; Provides a minor mode (toggled by M-x hl-line-ode) and a global minor +;; mode (toggled by M-x global-hl-line-mode) to highlight, on a +;; suitable terminal, the line in the current window on which point is +;; (except in a minibuffer window). Done to satisfy a request for a +;; feature of Lesser Editors. ;; You probably don't really want this; if the cursor is difficult to ;; spot, try changing its colour, relying on `blink-cursor-mode' or ;; both. The hookery used might affect response noticeably on a slow -;; machine. +;; machine. It may be useful in "non-text" buffers such as Gnus or +;; PCL-CVS though. ;; An overlay is used, active only on the selected window. Hooks are ;; added to `pre-command-hook' and `post-command-hook' to activate and @@ -45,7 +47,7 @@ ;; across the window width. ;; You could make variable `hl-line-mode' buffer-local to avoid -;; highlighting specific buffers. +;; highlighting specific buffers, when the global mode is used. ;;; Code: