Commits

Anonymous committed 5d5a5a9

Use concat instead of replace-match <17940.1190433856@athyra>

  • Participants
  • Parent commits 01f135d

Comments (0)

Files changed (2)

+2007-09-26  Ville Skyttä  <scop@xemacs.org>
+
+	* vc-sccs.el (vc-sccs-lock-file): Use simple concatenation
+	rather than `replace-match'; our r-m API differs from GNU.
+
 2007-08-28  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.42 released.
     (and
      master
      (string-match "\\(.*/\\)\\(s\\.\\)\\(.*\\)" master)
-     (replace-match "p." t t master 2))))
+     ;; XEmacs change: don't use replace-match here; our API differs from GNU
+     (concat (match-string 1 master) "p." (match-string 3 master)))))
 
 (defun vc-sccs-parse-locks ()
   "Parse SCCS locks in current buffer.