It might be cleaner to add another regexp to match the exceptions, i.e., defining forms which DO NOT count as function definitions. This one could override the existing one. That would enable us to exclude a specific form by name.
However, if this simpler regexp is correct ;; Match things like (defun foo ...), (defmacro foo ...), ... (concat "^\\s-*(\\(def\\(i[^n]\\|ine-[^b]\\|[^cfgiv]\\)\\(\\w\\|\\s_\\)+\\*?\\|\ easy-mmode-define-[a-z-]+\\|easy-menu-define\\|menu-bar-make-toggle\\)" find-function-space-re "\\('\\|\(quote \\)?%s\\(\\s-\\|$\\|\(\\|\)\\)") then by all means let's switch to it. _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug