diff options
| author | Paul Eggert | 2017-10-20 22:45:36 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-10-20 22:45:36 -0700 |
| commit | f400c7b69714c91a714ff0ab5b9f16708daf49b9 (patch) | |
| tree | 4a6549c67213696481b659654cac312f204f9479 /admin | |
| parent | 8cedc552463358509dd785f54e58bfaf8099de62 (diff) | |
| parent | 868eb74f910eb67a5e74ebb1867ebcfbfced55c4 (diff) | |
| download | emacs-f400c7b69714c91a714ff0ab5b9f16708daf49b9.tar.gz emacs-f400c7b69714c91a714ff0ab5b9f16708daf49b9.zip | |
Merge from origin/emacs-26
868eb74f91 Simplify make-progress-reporter vs float-time
83db9a1bba Fix two more minor Gnus typos
e655946ce0 Fix two minor Gnus typos
6a00914d6d Tweak Fdocumentation's error for an undefined function
7c63655e39 Tweak format of list of old files in NEWS header
# Conflicts:
# etc/NEWS
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin.el | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/admin/admin.el b/admin/admin.el index b2adfbf9f76..bedb6b2c032 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -158,11 +158,17 @@ Documentation changes might not have been completed!")))) | |||
| 158 | (re-search-forward "is about changes in Emacs version \\([0-9]+\\)") | 158 | (re-search-forward "is about changes in Emacs version \\([0-9]+\\)") |
| 159 | (replace-match (number-to-string newmajor) nil nil nil 1) | 159 | (replace-match (number-to-string newmajor) nil nil nil 1) |
| 160 | (re-search-forward "^See files \\(NEWS\\)") | 160 | (re-search-forward "^See files \\(NEWS\\)") |
| 161 | (replace-match (format "NEWS.%s, NEWS" oldmajor) nil nil nil 1) | 161 | (unless (save-match-data |
| 162 | (let ((start (line-beginning-position))) | 162 | (when (looking-at "\\(\\..*\\), \\(\\.\\.\\.\\|…\\)") |
| 163 | (search-forward "in older Emacs versions") | 163 | (replace-match |
| 164 | (or (equal start (line-beginning-position)) | 164 | (format ".%s, NEWS.%s" oldmajor (1- oldmajor)) |
| 165 | (fill-region start (line-beginning-position 2)))) | 165 | nil nil nil 1) |
| 166 | t)) | ||
| 167 | (replace-match (format "NEWS.%s, NEWS" oldmajor) nil nil nil 1) | ||
| 168 | (let ((start (line-beginning-position))) | ||
| 169 | (search-forward "in older Emacs versions") | ||
| 170 | (or (equal start (line-beginning-position)) | ||
| 171 | (fill-region start (line-beginning-position 2))))) | ||
| 166 | (re-search-forward "^$") | 172 | (re-search-forward "^$") |
| 167 | (forward-line -1) | 173 | (forward-line -1) |
| 168 | (let ((start (point))) | 174 | (let ((start (point))) |
| @@ -893,3 +899,7 @@ changes (in a non-trivial way). This function does not check for that." | |||
| 893 | (provide 'admin) | 899 | (provide 'admin) |
| 894 | 900 | ||
| 895 | ;;; admin.el ends here | 901 | ;;; admin.el ends here |
| 902 | |||
| 903 | ;; Local Variables: | ||
| 904 | ;; coding: utf-8 | ||
| 905 | ;; End: | ||