branch: externals/debbugs
commit 22fc3c232241afabcd909ba336b43b4e3586a732
Author: Robert Pluim <rpl...@gmail.com>
Commit: Robert Pluim <rpl...@gmail.com>

    Fix regex for determining Emacs version
    
    * debbugs-gnu.el (debbugs-gnu-announce-commit): Account for
    configure.ac now having square brackets in AC_INIT.
---
 debbugs-gnu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debbugs-gnu.el b/debbugs-gnu.el
index b0f20e14c6..c0ac0f8116 100644
--- a/debbugs-gnu.el
+++ b/debbugs-gnu.el
@@ -2422,7 +2422,7 @@ Optionally call `debbugs-gnu-make-control-message' to 
close BUGNUM."
                   (with-temp-buffer
                     (insert-file-contents "configure.ac")
                     (and (re-search-forward "\
-^ *AC_INIT(GNU Emacs, *\\([0-9.]+\\), *bug-gnu-em...@gnu.org"
+^ *AC_INIT(\\[?GNU Emacs\\]?, *\\[?\\([0-9.]+\\)\\]?, 
*\\[?bug-gnu-em...@gnu.org"
                                             nil t)
                          (match-string 1))))))
         (debbugs-gnu-make-control-message

Reply via email to