From 16f00e36dc2292db08e7bc88bd25e55c0cbf99f7 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 19 Aug 2020 20:52:08 +0100 Subject: [PATCH] * admin/admin.el (set-version): Trap yet another NEWS error. --- admin/admin.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/admin.el b/admin/admin.el index 923f0100820..310cd54e957 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -151,7 +151,7 @@ Root must be the root of an Emacs source tree." (display-warning 'admin "NEWS file contains empty sections - remove them?")) (goto-char (point-min)) - (if (re-search-forward "^\\(\\+\\+\\+ *\\|--- *\\)$" nil t) + (if (re-search-forward "^\\(\\+\\+\\+ *$\\|--- *$\\|Temporary note:\\)" nil t) (display-warning 'admin "NEWS file still contains temporary markup. Documentation changes might not have been completed!")))) -- 2.39.2