/[emacs]/emacs/lisp/hl-line.el
ViewVC logotype

Diff of /emacs/lisp/hl-line.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by lute, Thu May 15 13:21:23 2003 UTC revision 1.21 by lute, Fri May 16 09:27:36 2003 UTC
# Line 124  addition to `hl-line-highlight' on `post Line 124  addition to `hl-line-highlight' on `post
124          (overlay-put hl-line-overlay          (overlay-put hl-line-overlay
125                       'window (unless hl-line-sticky-flag (selected-window)))                       'window (unless hl-line-sticky-flag (selected-window)))
126          (move-overlay hl-line-overlay          (move-overlay hl-line-overlay
127                        (line-beginning-position) (1+ (line-end-position))))                        (line-beginning-position) (line-beginning-position 2)))
128      (hl-line-unhighlight)))      (hl-line-unhighlight)))
129    
130  (defun hl-line-unhighlight ()  (defun hl-line-unhighlight ()
# Line 158  Global-Hl-Line mode uses the functions ` Line 158  Global-Hl-Line mode uses the functions `
158          (overlay-put global-hl-line-overlay 'face hl-line-face))          (overlay-put global-hl-line-overlay 'face hl-line-face))
159        (overlay-put global-hl-line-overlay 'window (selected-window))        (overlay-put global-hl-line-overlay 'window (selected-window))
160        (move-overlay global-hl-line-overlay        (move-overlay global-hl-line-overlay
161                      (line-beginning-position) (1+ (line-end-position))))))                      (line-beginning-position) (line-beginning-position 2)))))
162    
163  (defun global-hl-line-unhighlight ()  (defun global-hl-line-unhighlight ()
164    "Deactivate the Global-Hl-Line overlay on the current line."    "Deactivate the Global-Hl-Line overlay on the current line."

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26