# HG changeset patch # User Richard M. Stallman # Date 1169967942 0 # Node ID d2adef0ec2f0679035b9c65f1338e471e2f24f6c # Parent e6bf9dd8fe819972de0c491376b817a83afe8c1a (vc-arch-file-id): Move with-current-buffer inside the if. diff -r e6bf9dd8fe81 -r d2adef0ec2f0 lisp/vc-arch.el --- a/lisp/vc-arch.el Sun Jan 28 07:05:17 2007 +0000 +++ b/lisp/vc-arch.el Sun Jan 28 07:05:42 2007 +0000 @@ -152,7 +152,7 @@ (with-temp-buffer (insert-file-contents idfile) (looking-at ".*[^ \n\t]") - (match-string 0))) + (match-string 0)) (with-current-buffer (find-file-noselect file) (save-excursion (goto-char (point-max)) @@ -161,7 +161,7 @@ (goto-char (point-min)) (re-search-forward vc-arch-tagline-re (+ (point) 1000) t))) (match-string 1) - (concat "./" (file-relative-name file (vc-arch-root file)))))))) + (concat "./" (file-relative-name file (vc-arch-root file))))))))) (defun vc-arch-tagging-method (file) (with-current-buffer