25 |
|
|
26 |
;;; Commentary: |
;;; Commentary: |
27 |
|
|
28 |
;; Provides a buffer-local minor mode (toggled by M-x hl-line-mode) |
;; Provides a local minor mode (toggled by M-x hl-line-mode) and |
29 |
;; and a global minor mode (toggled by M-x global-hl-line-mode) to |
;; a global minor mode (toggled by M-x global-hl-line-mode) to |
30 |
;; highlight, on a suitable terminal, the line on which point is. The |
;; highlight, on a suitable terminal, the line on which point is. The |
31 |
;; global mode highlights the current line in the selected window only |
;; global mode highlights the current line in the selected window only |
32 |
;; (except when the minibuffer window is selected). This was |
;; (except when the minibuffer window is selected). This was |
52 |
;; selected window. (It does so rather than keeping track of changes |
;; selected window. (It does so rather than keeping track of changes |
53 |
;; in the selected window). |
;; in the selected window). |
54 |
|
|
|
;; You could make variable `global-hl-line-mode' buffer-local and set |
|
|
;; it to nil to avoid highlighting specific buffers, when the global |
|
|
;; mode is used. |
|
|
|
|
55 |
;;; Code: |
;;; Code: |
56 |
|
|
57 |
(defgroup hl-line nil |
(defgroup hl-line nil |