# HG changeset patch # User Richard M. Stallman # Date 736106317 0 # Node ID f9f844a39a29d512a0012dab10f5d339162fb2c0 # Parent 8bfb4d8d4238fa383a0f93d58704c69ee73d61b5 (vc-match-substring): Renamed from match-substring. (vc-parse-buffer): Use new name. diff -r 8bfb4d8d4238 -r f9f844a39a29 lisp/vc.el --- 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))