summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc/log-edit.el4
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6a1ebc7e0e6..e910b2cc502 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-31 Glenn Morris <rgm@gnu.org>
+
+ * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
+
2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
* progmodes/python.el: Support other commands triggering
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el
index 3c34a762a1b..793644d9091 100644
--- a/lisp/vc/log-edit.el
+++ b/lisp/vc/log-edit.el
@@ -319,7 +319,9 @@ automatically."
"AList of known headers and the face to use to highlight them.")
(defconst log-edit-header-contents-regexp
- "[ \t]*\\(.*\\(\n[ \t].*\\)*\\)\n?")
+ "[ \t]*\\(.*\\(\n[ \t].*\\)*\\)\n?"
+ "Regular expression matching a header field.
+The first subexpression is the actual text of the field.")
(defun log-edit-match-to-eoh (_limit)
;; FIXME: copied from message-match-to-eoh.