grow-vers.el 1.3 KB

1234567891011121314151617181920212223242526272829303132
  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.
  4. ;; This file is part of GNU Emacs.
  5. ;; GNU Emacs is distributed in the hope that it will be useful,
  6. ;; but WITHOUT ANY WARRANTY. No author or distributor
  7. ;; accepts responsibility to anyone for the consequences of using it
  8. ;; or for whether it serves any particular purpose or works at all,
  9. ;; unless he says so in writing. Refer to the GNU Emacs General Public
  10. ;; License for full details.
  11. ;; Everyone is granted permission to copy, modify and redistribute
  12. ;; GNU Emacs, but only under the conditions described in the
  13. ;; GNU Emacs General Public License. A copy of this license is
  14. ;; supposed to have been given to you along with GNU Emacs so you
  15. ;; can know your rights and responsibilities. It should be in a
  16. ;; file named COPYING. Among other things, the copyright notice
  17. ;; and this notice must be preserved on all copies.
  18. (insert-file-contents "lisp/version.el")
  19. (re-search-forward "emacs-version \"[0-9.]*")
  20. (insert ".0")
  21. ;; Delete the share-link with the current version
  22. ;; so that we do not alter the current version.
  23. (delete-file "lisp/version.el")
  24. (write-region (point-min) (point-max) "lisp/version.el" nil 'nomsg)