autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.63b-99-


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63b-99-g32440e1
Date: Sun, 26 Jul 2009 02:58:42 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=32440e1605b6f4113ee70389839fb5c2fa075c4a

The branch, master has been updated
       via  32440e1605b6f4113ee70389839fb5c2fa075c4a (commit)
      from  e18033c024a77b23b418858d0f942f53d872ae66 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 32440e1605b6f4113ee70389839fb5c2fa075c4a
Author: Eric Blake <address@hidden>
Date:   Mon Nov 3 11:38:37 2008 -0500

    Recognize new m4sugar keywords.
    
    * lib/emacs/autoconf-mode.el (autoconf-current-defun): Recognize
    m4_define_default, m4_defun_init, m4_defun_once.
    (autoconf-font-lock-keywords):  Likewise.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    5 +++++
 lib/emacs/autoconf-mode.el |    8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8149913..e5ab549 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-07-25  Eric Blake  <address@hidden>
 
+       Recognize new m4sugar keywords.
+       * lib/emacs/autoconf-mode.el (autoconf-current-defun): Recognize
+       m4_define_default, m4_defun_init, m4_defun_once.
+       (autoconf-font-lock-keywords):  Likewise.
+
        Require m4 1.4.6, and fix testsuite to support this version.
        * m4/m4.m4 (AC_PROG_GNU_M4): Reject m4 1.4.5, now that we use
        regexp it can't handle.
diff --git a/lib/emacs/autoconf-mode.el b/lib/emacs/autoconf-mode.el
index a0aec86..7b507f6 100644
--- a/lib/emacs/autoconf-mode.el
+++ b/lib/emacs/autoconf-mode.el
@@ -41,7 +41,7 @@
   `(("\\bdnl \\(.*\\)"  1 font-lock-comment-face t)
     ("address@hidden" . font-lock-variable-name-face)
     
("\\b\\(m4_\\)?\\(builtin\\|change\\(com\\|quote\\|word\\)\\|d\\(e\\(bug\\(file\\|mode\\)\\|cr\\|f\\(ine\\|n\\)\\)\\|iv\\(ert\\|num\\)\\|nl\\|umpdef\\)\\|e\\(rrprint\\|syscmd\\|val\\)\\|f\\(ile\\|ormat\\)\\|gnu\\|i\\(f\\(def\\|else\\)\\|n\\(c\\(lude\\|r\\)\\|d\\(ex\\|ir\\)\\)\\)\\|l\\(en\\|ine\\)\\|m\\(4\\(exit\\|wrap\\)\\|aketemp\\|kstemp\\)\\|p\\(atsubst\\|opdef\\|ushdef\\)\\|regexp\\|s\\(hift\\|include\\|ubstr\\|ys\\(cmd\\|val\\)\\)\\|tra\\(ceo\\(ff\\|n\\)\\|nslit\\)\\|un\\(d\\(efine\\|ivert\\)\\|ix\\)\\)\\b"
 . font-lock-keyword-face)
-    ("^\\(\\(m4_\\)?define\\|A._DEFUN\\|m4_defun\\)(\\[?\\([A-Za-z0-9_]+\\)" 3 
font-lock-function-name-face)
+    
("^\\(\\(m4_\\)?define\\(_default\\)?\\|A._DEFUN\\|m4_defun\\(_once\\|_init\\)?\\)(\\[?\\([A-Za-z0-9_]+\\)"
 5 font-lock-function-name-face)
     "default font-lock-keywords")
 )
 
@@ -68,9 +68,9 @@
   "Autoconf value for `add-log-current-defun-function'.
 This tells add-log.el how to find the current macro."
   (save-excursion
-    (if (re-search-backward 
"^\\(m4_define\\|m4_defun\\|A._DEFUN\\)(\\[*\\([A-Za-z0-9_]+\\)" nil t)
-       (buffer-substring (match-beginning 2)
-                         (match-end 2))
+    (if (re-search-backward 
"^\\(m4_define\\(_default\\)?\\|m4_defun\\(_once\\|_init\\)?\\|A._DEFUN\\)(\\[*\\([A-Za-z0-9_]+\\)"
 nil t)
+       (buffer-substring (match-beginning 4)
+                         (match-end 4))
       nil)))
 
 ;;;###autoload


hooks/post-receive
-- 
GNU Autoconf source repository




reply via email to

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