guile feature
[bpt/emacs.git] / lisp / version.el
index 4f5bb67..f9e7a59 100644 (file)
@@ -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,14 +186,11 @@ 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))))))))
 
-;; We put version info into the executable in the form that `ident' uses.
-(purecopy (concat "\n$Id: " (subst-char-in-string ?\n ?\s (emacs-version))
-                 " $\n"))
-
 ;;; version.el ends here