emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 38b127d: * admin/admin.el (set-version): Handle malformed NEWS


From: Glenn Morris
Subject: emacs-27 38b127d: * admin/admin.el (set-version): Handle malformed NEWS markup.
Date: Thu, 25 Mar 2021 14:48:30 -0400 (EDT)

branch: emacs-27
commit 38b127d32efe39e4ffb2bdd9d43e9f3c517afd8f
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>

    * admin/admin.el (set-version): Handle malformed NEWS markup.
---
 admin/admin.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/admin/admin.el b/admin/admin.el
index 9be6f4a..d75612c 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 "^\\(\\+\\+\\+ *$\\|--- *$\\|Temporary 
note:\\)" 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!"))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]