]> git.eshelyaron.com Git - emacs.git/commitdiff
Backport cedet/ede/emacs.el change from trunk
authorGlenn Morris <rgm@gnu.org>
Tue, 1 Apr 2014 16:27:59 +0000 (09:27 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 1 Apr 2014 16:27:59 +0000 (09:27 -0700)
In case anyone uses 24.4 to edit trunk Emacs sources

* lisp/cedet/ede/emacs.el (ede-emacs-version): Update AC_INIT regexp.

Fixes: debbugs:17160
lisp/cedet/ChangeLog
lisp/cedet/ede/emacs.el

index fbe32ff610bfab955de1d9c1e92e5f4508494649..51339cebe6016bcf816b7f5f47bd27f090e986e4 100644 (file)
@@ -1,3 +1,7 @@
+2014-04-01  Glenn Morris  <rgm@gnu.org>
+
+       * ede/emacs.el (ede-emacs-version): Update AC_INIT regexp.  (Bug#17160)
+
 2014-03-04  Glenn Morris  <rgm@gnu.org>
 
        * semantic/util.el (semantic-complete-symbol):
index 0b237806784b34267be54f2fd74db4042e4db475..43f16da8a7774fd9d8bc2f58b42ec765c957019b 100644 (file)
@@ -116,7 +116,7 @@ m4_define(\\[SXEM4CS_BETA_VERSION\\], \\[\\([0-9]+\\)\\])")
        (t
        (insert-file-contents configure_ac)
        (goto-char (point-min))
-       (re-search-forward "AC_INIT(emacs,\\s-*\\([0-9.]+\\)\\s-*)")
+       (re-search-forward "AC_INIT(\\(?:GNU \\)?[eE]macs,\\s-*\\([0-9.]+\\)\\s-*[,)]")
        (setq ver (match-string 1))
        )
        )