Variable: add-log-current-defun-header-regexp

add-log-current-defun-header-regexp is a customizable variable defined in add-log.el.gz.

Value

"^\\([[:upper:]][[:upper:]_ ]*[[:upper:]_]\\|[-_[:alnum:]]*[[:alpha:]][-_[:alnum:]]*\\)[        ]*[:=]"

Documentation

Heuristic regexp used by add-log-current-defun for unknown major modes.

The regexp's first submatch is placed in the ChangeLog entry, in parentheses.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/add-log.el.gz
(defcustom add-log-current-defun-header-regexp
  "^\\([[:upper:]][[:upper:]_ ]*[[:upper:]_]\\|[-_[:alnum:]]*[[:alpha:]][-_[:alnum:]]*\\)[ \t]*[:=]"
  "Heuristic regexp used by `add-log-current-defun' for unknown major modes.
The regexp's first submatch is placed in the ChangeLog entry, in
parentheses."
  :type 'regexp)