defun-prompt-regexp

defun-prompt-regexp is a variable defined in `lisp.el'.
Its value is
nil

  • Automatically becomes buffer-local when set.

Documentation:
If non-nil, a regexp to ignore before a defun.
This is only necessary if the opening paren or brace is not in column 0.
See function `beginning-of-defun'.

You can customize this variable.