summaryrefslogtreecommitdiff
path: root/lisp/add-log.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-03-12 00:23:12 +0000
committerKarl Heuer <kwzh@gnu.org>1994-03-12 00:23:12 +0000
commit064175c9eed01030cb8df00333910ced554b1941 (patch)
tree7e642640d5dc6a619187aa7416fc645db613243a /lisp/add-log.el
parentfdc98b319040ed41006d4e87749f522409df413f (diff)
downloademacs-064175c9eed01030cb8df00333910ced554b1941.tar.gz
Don't use triple-hyphen in a character class.
Diffstat (limited to 'lisp/add-log.el')
-rw-r--r--lisp/add-log.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el
index 9c54caa84ce..0fc40e107a4 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -284,7 +284,7 @@ Prefix arg means justify as well."
(fill-paragraph justify)))
(defvar add-log-current-defun-header-regexp
- "^\\([A-Z][A-Z_ ]*[A-Z_]\\|[a-z_---A-Z]+\\)[ \t]*[:=]"
+ "^\\([A-Z][A-Z_ ]*[A-Z_]\\|[-_a-zA-Z]+\\)[ \t]*[:=]"
"*Heuristic regexp used by `add-log-current-defun' for unknown major modes.")
(defun add-log-current-defun ()