aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2010-03-23 20:27:24 -0700
committerGlenn Morris <[email protected]>2010-03-23 20:27:24 -0700
commit495b517c6f0f9e7da4ada2efce2ddcd4a386b94a (patch)
tree48eebf99f5a16f6cdf370e458ca442c92ee386e7 /lisp
parent16d8cf52c66762b5ddf440ab7796d524b94e7d2b (diff)
* log-edit.el (log-edit-before-checkin-process): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/log-edit.el16
2 files changed, 9 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0b845dd120..b09b479b76 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2010-03-24 Glenn Morris <[email protected]>
+ * log-edit.el (log-edit-before-checkin-process): Doc fix.
+
* cedet/semantic/bovine/c.el (semantic-c-describe-environment):
Consistently check ede-object is bound throughout.
diff --git a/lisp/log-edit.el b/lisp/log-edit.el
index 57f79bd4b1..09dce0eb85 100644
--- a/lisp/log-edit.el
+++ b/lisp/log-edit.el
@@ -191,22 +191,20 @@ when this variable is set to nil.")
(defvar log-edit-extra-flags nil
"List of extra flags to pass to the check in command.")
(defvar log-edit-before-checkin-process nil
- "Alist that contains instructions for processing the commit message before check in.
-
+ "Alist with instructions for processing the commit message before check in.
The format is: (REGEXP . INSTRUCTIONS).
+All lines matching REGEXP are removed. For example:
-All lines matching REGEXP are removed.
-
-For example:
+\(\"^#.*\" . nil)
-(\"^#.*\" . nil)
means: just remove all lines starting with #. This can be used
to insert lines in the commit buffer that contain, for example, the
list of files to be committed.
-(\"Author: \\(.*\\)\" . (list \"--author\" (match-string 1)))
-means: append (list \"--author\" (match-string 1)) to
-`log-edit-extra-flags'.")
+\(\"Author: \\\\(.*\\\\)\" . (list \"--author\" (match-string 1)))
+
+means: append (list \"--author\" (match-string 1)) to `log-edit-extra-flags'.")
+
(defvar log-edit-parent-buffer nil)
;;; Originally taken from VC-Log mode