changeset 2612:f9f844a39a29

(vc-match-substring): Renamed from match-substring. (vc-parse-buffer): Use new name.
author Richard M. Stallman <rms@gnu.org>
date Thu, 29 Apr 1993 17:58:37 +0000
parents 8bfb4d8d4238
children 709f672f450e
files lisp/vc.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Thu Apr 29 16:49:24 1993 +0000
+++ b/lisp/vc.el	Thu Apr 29 17:58:37 1993 +0000
@@ -1091,7 +1091,7 @@
 
 ;; Functions for querying the master and lock files.
 
-(defun match-substring (bn)
+(defun vc-match-substring (bn)
   (buffer-substring (match-beginning bn) (match-end bn)))
 
 (defun vc-parse-buffer (patterns &optional file properties)
@@ -1107,16 +1107,16 @@
 	     (if (string-match "\\\\(.*\\\\(" p)
 		 (let ((latest-date "") (latest-val))
 		   (while (re-search-forward p nil t)
-		     (let ((date (match-substring 2)))
+		     (let ((date (vc-match-substring 2)))
 		       (if (string< latest-date date)
 			   (progn
 			     (setq latest-date date)
 			     (setq latest-val
-				   (match-substring 1))))))
+				   (vc-match-substring 1))))))
 		   latest-val))
 	     (prog1
 		 (and (re-search-forward p nil t)
-		      (let ((value (match-substring 1)))
+		      (let ((value (vc-match-substring 1)))
 			(if file
 			    (vc-file-setprop file (car properties) value))
 			value))