Improve add-log-current-defun-header-regexp
* lisp/vc/add-log.el (add-log-current-defun-header-regexp): Allow digits. Require at least one letter. (Bug#48037)
This commit is contained in:
parent
a9fc30e6c2
commit
244499292e
1 changed files with 1 additions and 1 deletions
|
@ -1194,7 +1194,7 @@ file were isearch was started."
|
|||
(forward-paragraph n)))
|
||||
|
||||
(defcustom add-log-current-defun-header-regexp
|
||||
"^\\([[:upper:]][[:upper:]_ ]*[[:upper:]_]\\|[-_[:alpha:]]+\\)[ \t]*[:=]"
|
||||
"^\\([[: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."
|
||||
|
|
Loading…
Add table
Reference in a new issue