2003-10-17 Andrew W. Nosenko * func-menu.el: Add autoconf mode support. (fume-function-name-regexp-autoconf): New variable. (fume-function-name-regexp-alist): Use it. --- func-menu.el- 2003-08-28 01:15:36.000000000 +0300 +++ func-menu.el 2003-10-17 03:15:45.000000000 +0300 @@ -1029,6 +1029,12 @@ Note, this can be very slow for large or (defvar fume-function-name-regexp-manual "^[A-Z][A-Z ]+$" "*Expression to get Manual page sections.") +;; Autoconf 2.5x +;; +;; Andrew W. Nosenko +(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 ;; @@ -1139,6 +1145,9 @@ Note, this can be very slow for large or ;; 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.")