]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak previous emacs-bzr-get-version change
authorGlenn Morris <rgm@gnu.org>
Sat, 15 Sep 2012 00:45:00 +0000 (20:45 -0400)
committerGlenn Morris <rgm@gnu.org>
Sat, 15 Sep 2012 00:45:00 +0000 (20:45 -0400)
lisp/version.el

index 8ef279828b1ae62f765321f7ba9715cf290e88f8..47476cb268a3fb57f82ac8e7f38a3bc2846f50af 100644 (file)
@@ -113,7 +113,7 @@ of the sources, which may not correspond to the running Emacs.
 
 Optional argument DIR is a directory to use instead of `source-directory'."
   (or dir (setq dir source-directory))
-  (when (file-directory-p dir)
+  (when (file-directory-p (expand-file-name ".bzr/branch" dir))
     (let (file loc rev)
       (cond ((file-readable-p
               (setq file (expand-file-name ".bzr/branch/last-revision" dir)))