aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-06-16 18:11:46 +0000
committerRichard M. Stallman1995-06-16 18:11:46 +0000
commitb7011339a202da06ec2ba58b11618692ea8f0326 (patch)
tree18c8a7de263fc65d2600f6dd49867b769d18143a
parentd7eff0e04e9a07e7fa8e6534ccb3a75cd51e6f2a (diff)
downloademacs-b7011339a202da06ec2ba58b11618692ea8f0326.tar.gz
emacs-b7011339a202da06ec2ba58b11618692ea8f0326.zip
(vc-lookup-triple): changed the code that used to call
vc-master-info, which no longer exists. Adapted to the new parameter format of vc-parse-buffer.
-rw-r--r--lisp/vc.el14
1 files changed, 10 insertions, 4 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 4c631a3532f..afbf6c2d8a9 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -1235,10 +1235,16 @@ in all these directories. With a prefix argument, it lists all files."
1235 (and (>= firstchar ?0) (<= firstchar ?9))) 1235 (and (>= firstchar ?0) (<= firstchar ?9)))
1236 name) 1236 name)
1237 (t 1237 (t
1238 (car (vc-master-info 1238 (save-excursion
1239 (concat (vc-backend-subdirectory-name file) "/" vc-name-assoc-file) 1239 (set-buffer (get-buffer-create "*vc-info*"))
1240 (list (concat name "\t:\t" file "\t\\(.+\\)")))) 1240 (vc-insert-file (concat
1241 ))) 1241 (vc-backend-subdirectory-name file)
1242 "/" vc-name-assoc-file))
1243 (prog1
1244 (car (vc-parse-buffer
1245 (list (list (concat name "\t:\t" file "\t\\(.+\\)") 1))))
1246 (kill-buffer "*vc-info*"))))
1247 ))
1242 1248
1243;; Named-configuration entry points 1249;; Named-configuration entry points
1244 1250