./autogen.sh
./configure --with-native-compilation && make
- For a release (as opposed to pretest), delete any left-over "---"
- and "+++" markers from etc/NEWS, as well as the "Temporary note"
- section at the beginning of that file, and commit etc/NEWS if it
- was modified. For a bug fix release (e.g. 28.2), delete any empty
- headlines too.
+ For a release (as opposed to pretest), visit etc/NEWS and use the
+ "M-x emacs-news-delete-temporary-markers" command to delete any
+ left-over "---" and "+++" markers from etc/NEWS, as well as the
+ "Temporary note" section at the beginning of that file, and commit
+ etc/NEWS if it was modified. For a bug fix release (e.g. 28.2),
+ delete any empty headlines too.
2. Regenerate the versioned ChangeLog.N and etc/AUTHORS files.
(forward-line -1))
(open-line n))
+(defun emacs-news-delete-temporary-markers ()
+ "Delete any temporary markers.
+This is used when preparing a new release of Emacs."
+ (interactive nil emacs-news-mode)
+ (goto-char (point-min))
+ (re-search-forward "^Temporary note:$")
+ (forward-line -1)
+ (delete-region (point) (save-excursion (forward-paragraph) (point)))
+ (while (re-search-forward (rx bol (or "+++" "---") eol) nil t)
+ (delete-line)))
+
(provide 'emacs-news-mode)
;;; emacs-news-mode.el ends here