Commits

Anonymous committed 03a7608

Add autoconf mode support. By Andrew W. Nosenko <awn@bcs.zp.ua>,
<20031017002049.GA693@bcs.zp.ua>.

Comments (0)

Files changed (2)

 	* edit-utils.texi (highline-options):
 	* package-info.in:
 
+2003-10-17  Andrew W. Nosenko  <awn@bcs.zp.ua>
+
+	* func-menu.el: Add autoconf mode support.
+	(fume-function-name-regexp-autoconf): New variable.
+	(fume-function-name-regexp-alist): Use it.
+
 2003-10-16  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 2.08 released.
 (defvar fume-function-name-regexp-manual "^[A-Z][A-Z ]+$"
   "*Expression to get Manual page sections.")
 
+;; Autoconf 2.5x
+;;
+;; Andrew W. Nosenko <awn@bcs.zp.ua>
+(defvar fume-function-name-regexp-autoconf "^\\(?:AC_DEFUN\\|m4_define\\)(\\[?\\([A-Za-z0-9_()]+\\)"
+  "*Expression to get Autoconf macro definitions.")
+
 
 ;; This is where the mode specific regexp's are hooked in
 ;;
 
     ;; Manual
     (Manual-mode . fume-function-name-regexp-manual)
+
+    ;; Autoconf
+    (autoconf-mode . fume-function-name-regexp-autoconf)
     )
 
   "The connection between a mode and the regexp that matches function names.")