changeset 5509:5d907d4216ce

If there are no subversions yet, use 1.
author Richard M. Stallman <rms@gnu.org>
date Sat, 08 Jan 1994 12:44:48 +0000
parents 67db1f804162
children d3e04700d190
files lisp/loadup.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/loadup.el	Sat Jan 08 12:18:55 1994 +0000
+++ b/lisp/loadup.el	Sat Jan 08 12:44:48 1994 +0000
@@ -133,7 +133,9 @@
 			     files)))
       (setq emacs-version (format "%s.%d"
 				  emacs-version
-				  (1+ (apply 'max versions))))))
+				  (if versions
+				      (1+ (apply 'max versions))
+				    1)))))
 
 ;; Note: all compiled Lisp files loaded above this point
 ;; must be among the ones parsed by make-docfile