/[emacs]/emacs/lisp/tempo.el
ViewVC logotype

Diff of /emacs/lisp/tempo.el

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

revision 1.19.4.2 by miles, Tue Oct 14 23:51:25 2003 UTC revision 1.19.4.3 by miles, Fri Nov 12 04:21:11 2004 UTC
# Line 1  Line 1 
1  ;;; tempo.el --- Flexible template insertion  ;;; tempo.el --- Flexible template insertion
2    
3  ;; Copyright (C) 1994, 1995 Free Software Foundation, Inc.  ;; Copyright (C) 1994, 1995, 2004 Free Software Foundation, Inc.
4    
5  ;; Author: David K}gedal <davidk@lysator.liu.se>  ;; Author: David K}gedal <davidk@lysator.liu.se>
6  ;; Created: 16 Feb 1994  ;; Created: 16 Feb 1994
# Line 172  documentation for the function `tempo-co Line 172  documentation for the function `tempo-co
172  (defvar tempo-marks nil  (defvar tempo-marks nil
173    "A list of marks to jump to with `\\[tempo-forward-mark]' and `\\[tempo-backward-mark]'.")    "A list of marks to jump to with `\\[tempo-forward-mark]' and `\\[tempo-backward-mark]'.")
174    
175  (defvar tempo-match-finder "\\b\\([^\\b]+\\)\\="  (defvar tempo-match-finder "\\b\\([[:word:]]+\\)\\="
176    "The regexp or function used to find the string to match against tags.    "The regexp or function used to find the string to match against tags.
177    
178  If `tempo-match-finder is a string, it should contain a regular  If `tempo-match-finder is a string, it should contain a regular
# Line 182  the string between the first \\( and \\) Line 182  the string between the first \\( and \\)
182  each string in the tag list. If one is found, the whole text between  each string in the tag list. If one is found, the whole text between
183  the first \\( and the point is replaced with the inserted template.  the first \\( and the point is replaced with the inserted template.
184    
185  You will probably want to include \\ \= at the end of the regexp to  You will probably want to include \\=\\= at the end of the regexp to
186  make sure that the string is matched only against text adjacent to the  make sure that the string is matched only against text adjacent to the
187  point.  point.
188    

Legend:
Removed from v.1.19.4.2  
changed lines
  Added in v.1.19.4.3

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