/[emacs]/emacs/lisp/hi-lock.el
ViewVC logotype

Diff of /emacs/lisp/hi-lock.el

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

revision 1.16 by monnier, Fri Feb 1 19:30:23 2002 UTC revision 1.16.4.1 by miles, Fri Apr 4 06:20:06 2003 UTC
# Line 23  Line 23 
23  ;; Boston, MA 02111-1307, USA.  ;; Boston, MA 02111-1307, USA.
24    
25  ;;; Commentary:  ;;; Commentary:
26  ;;  ;;
27  ;;  With the hi-lock commands text matching interactively entered  ;;  With the hi-lock commands text matching interactively entered
28  ;;  regexp's can be highlighted.  For example, `M-x highlight-regexp  ;;  regexp's can be highlighted.  For example, `M-x highlight-regexp
29  ;;  RET clearly RET RET' will highlight all occurrences of `clearly'  ;;  RET clearly RET RET' will highlight all occurrences of `clearly'
# Line 58  Line 58 
58  ;;    to the edit menu.  ;;    to the edit menu.
59  ;;  ;;
60  ;;    (hi-lock-mode 1)  ;;    (hi-lock-mode 1)
61  ;;    ;;
62  ;;    You might also want to bind the hi-lock commands to more  ;;    You might also want to bind the hi-lock commands to more
63  ;;    finger-friendly sequences:  ;;    finger-friendly sequences:
64    
# Line 83  Line 83 
83  (eval-and-compile  (eval-and-compile
84    (require 'font-lock))    (require 'font-lock))
85    
 ;;;###autoload  
86  (defgroup hi-lock-interactive-text-highlighting nil  (defgroup hi-lock-interactive-text-highlighting nil
87    "Interactively add and remove font-lock patterns for highlighting text."    "Interactively add and remove font-lock patterns for highlighting text."
88    :group 'faces)    :group 'faces)
# Line 260  which can be called interactively, are: Line 259  which can be called interactively, are:
259    Highlight matches of phrase PHRASE in current buffer with FACE.    Highlight matches of phrase PHRASE in current buffer with FACE.
260    (PHRASE can be any REGEXP, but spaces will be replaced by matches    (PHRASE can be any REGEXP, but spaces will be replaced by matches
261    to whitespace and initial lower-case letters will become case insensitive.)    to whitespace and initial lower-case letters will become case insensitive.)
262    
263  \\[highlight-lines-matching-regexp] REGEXP FACE  \\[highlight-lines-matching-regexp] REGEXP FACE
264    Highlight lines containing matches of REGEXP in current buffer with FACE.    Highlight lines containing matches of REGEXP in current buffer with FACE.
265    

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.16.4.1

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