This might be useful for some: better support of Autoconf in C-x 4 a:

--- /tmp/zshb9hLGx      Fri Mar 10 13:21:59 2000
+++ add-log.el  Wed Mar  1 18:16:05 2000
@@ -649,6 +649,10 @@
                 (if (re-search-backward "^sub[ \t]+\\([^ \t\n]+\\)" nil t)
                     (buffer-substring (match-beginning 1)
                                       (match-end 1))))
+               ((eq major-mode 'autoconf-mode)
+                (if (re-search-backward 
+"^\\(\\(m4_\\)?define\\|A._DEFUN\\)(\\[?\\([A-Za-z0-9_]+\\)" nil t)
+                    (buffer-substring (match-beginning 3)
+                                      (match-end 3))))
                 ((eq major-mode 'fortran-mode)
                  ;; must be inside function body for this to work
                  (beginning-of-fortran-subprogram)

Akim

Reply via email to