summaryrefslogtreecommitdiff
path: root/lisp/version.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-09-14 20:45:00 -0400
committerGlenn Morris <rgm@gnu.org>2012-09-14 20:45:00 -0400
commitfea895b1d20c919021a99d9595248a53bcaff88c (patch)
tree6cbf8128d87a92a7baf354161902d309898e0df9 /lisp/version.el
parentf40a97091f5ae5ba94d46e41dbc072e2e80c1730 (diff)
downloademacs-fea895b1d20c919021a99d9595248a53bcaff88c.tar.gz
Tweak previous emacs-bzr-get-version change
Diffstat (limited to 'lisp/version.el')
-rw-r--r--lisp/version.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/version.el b/lisp/version.el
index 8ef279828b1..47476cb268a 100644
--- a/lisp/version.el
+++ b/lisp/version.el
@@ -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)))