Mercurial > emacs
diff lisp/log-edit.el @ 107482:1161bde4ebd6
* log-edit.el (log-edit-before-checkin-process): Doc fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 23 Mar 2010 20:27:24 -0700 |
parents | 1918e70c8b37 |
children | 17d3324f96dd |
line wrap: on
line diff
--- a/lisp/log-edit.el Tue Mar 23 20:21:53 2010 -0700 +++ b/lisp/log-edit.el Tue Mar 23 20:27:24 2010 -0700 @@ -191,22 +191,20 @@ (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. +\(\"^#.*\" . nil) -For example: - -(\"^#.*\" . 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