*** empty log message ***
[emacs.git] / lisp / grow-vers.el
blobbf55146c6a6494cf52d517ade2b708ff9dede777
1 ;; Load this file to add a new level (starting at zero)
2 ;; to the Emacs version number recorded in version.el.
3 ;; Copyright (C) 1985 Free Software Foundation, Inc.
5 ;; This file is part of GNU Emacs.
7 ;; GNU Emacs is free software; you can redistribute it and/or modify
8 ;; it under the terms of the GNU General Public License as published by
9 ;; the Free Software Foundation; either version 1, or (at your option)
10 ;; any later version.
12 ;; GNU Emacs is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;; GNU General Public License for more details.
17 ;; You should have received a copy of the GNU General Public License
18 ;; along with GNU Emacs; see the file COPYING. If not, write to
19 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 (insert-file-contents "lisp/version.el")
24 (re-search-forward "emacs-version \"[0-9.]*")
25 (insert ".0")
27 ;; Delete the share-link with the current version
28 ;; so that we do not alter the current version.
29 (delete-file "lisp/version.el")
30 (write-region (point-min) (point-max) "lisp/version.el" nil 'nomsg)