]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-arch-file-id): Move with-current-buffer inside the if.
authorRichard M. Stallman <rms@gnu.org>
Sun, 28 Jan 2007 07:05:42 +0000 (07:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 28 Jan 2007 07:05:42 +0000 (07:05 +0000)
lisp/vc-arch.el

index f0eb85eebd873221403dbe4466660d78ba5effc5..0f02db0ba969f6fda01c3d663e8672c9cef9cf94 100644 (file)
@@ -152,7 +152,7 @@ Only the value `maybe' can be trusted :-(."
        (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 @@ Only the value `maybe' can be trusted :-(."
                    (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