/[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.26 by jet, Mon Mar 15 07:27:02 2004 UTC revision 1.27 by kfstorm, Wed Feb 9 15:50:42 2005 UTC
# Line 58  Line 58 
58  ;; mode is used.  ;; mode is used.
59    
60  ;; In default whole the line is highlighted. The range of highlighting  ;; In default whole the line is highlighted. The range of highlighting
61  ;; can be changed by defining an appropriate function as the  ;; can be changed by defining an appropriate function as the
62  ;; buffer-local value of `hl-line-range-function'.  ;; buffer-local value of `hl-line-range-function'.
63    
64  ;;; Code:  ;;; Code:
# Line 79  Otherwise Hl-Line mode will highlight on Line 79  Otherwise Hl-Line mode will highlight on
79  window.  Setting this variable takes effect the next time you use  window.  Setting this variable takes effect the next time you use
80  the command `hl-line-mode' to turn Hl-Line mode on."  the command `hl-line-mode' to turn Hl-Line mode on."
81    :type 'boolean    :type 'boolean
82    :version "21.4"    :version "22.1"
83    :group 'hl-line)    :group 'hl-line)
84    
85  (defvar hl-line-range-function nil  (defvar hl-line-range-function nil
86    "If non-nil, function to call to return highlight range.    "If non-nil, function to call to return highlight range.
87  The function of no args should return a cons cell; its car value  The function of no args should return a cons cell; its car value
88  is the beginning position of highlight and its cdr value is the  is the beginning position of highlight and its cdr value is the
89  end position of highlight in the buffer.  end position of highlight in the buffer.
90  It should return nil if there's no region to be highlighted.  It should return nil if there's no region to be highlighted.
91    

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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