aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-01-08 12:44:48 +0000
committerRichard M. Stallman1994-01-08 12:44:48 +0000
commit7120d5c8f0bb458a79a5b61e01230889dcfc1ca9 (patch)
treefbd460f3a0eccdfecdaee18dffa1ba98d13c4d89
parent52b85866affc31bbade8eb2c49ebdc9f18858e80 (diff)
downloademacs-7120d5c8f0bb458a79a5b61e01230889dcfc1ca9.tar.gz
emacs-7120d5c8f0bb458a79a5b61e01230889dcfc1ca9.zip
If there are no subversions yet, use 1.
-rw-r--r--lisp/loadup.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index c895e370fc3..6cf138cd794 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -133,7 +133,9 @@
133 files))) 133 files)))
134 (setq emacs-version (format "%s.%d" 134 (setq emacs-version (format "%s.%d"
135 emacs-version 135 emacs-version
136 (1+ (apply 'max versions)))))) 136 (if versions
137 (1+ (apply 'max versions))
138 1)))))
137 139
138;; Note: all compiled Lisp files loaded above this point 140;; Note: all compiled Lisp files loaded above this point
139;; must be among the ones parsed by make-docfile 141;; must be among the ones parsed by make-docfile