X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/edace89f2670ed235d98c6d33f32d49228f423e3..34dc21db6e57ebbad81a196002fcd3cc557f096e:/lisp/version.el diff --git a/lisp/version.el b/lisp/version.el index 4f5bb67585..68b502ce45 100644 --- a/lisp/version.el +++ b/lisp/version.el @@ -3,7 +3,7 @@ ;; Copyright (C) 1985, 1992, 1994-1995, 1999-2014 Free Software ;; Foundation, Inc. -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; Keywords: internal ;; Package: emacs @@ -186,9 +186,10 @@ only ask the VCS if we cannot find any information ourselves." (with-temp-buffer (let ((default-directory (file-name-as-directory dir))) (and (eq 0 - (ignore-errors - (call-process "git" nil '(t nil) nil "log" - "-1" "--pretty=format:%N"))) + (condition-case nil + (call-process "git" nil '(t nil) nil "log" + "-1" "--pretty=format:%N") + (error nil))) (not (zerop (buffer-size))) (replace-regexp-in-string "\n" "" (buffer-string))))))))