summaryrefslogtreecommitdiff
path: root/lisp/vc/log-edit.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-10-19 17:43:41 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2011-10-19 17:43:41 -0400
commit89400f1da21c47f39b3dd96f48382c31aa6dde86 (patch)
tree05ee3d591d46e58741366dc156a9bfebc84e41de /lisp/vc/log-edit.el
parent305c07f6ae3dbf10a6c069e2031fb4b0bca3d254 (diff)
downloademacs-89400f1da21c47f39b3dd96f48382c31aa6dde86.tar.gz
emacs-89400f1da21c47f39b3dd96f48382c31aa6dde86.tar.bz2
emacs-89400f1da21c47f39b3dd96f48382c31aa6dde86.zip
* vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
Diffstat (limited to 'lisp/vc/log-edit.el')
-rw-r--r--lisp/vc/log-edit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el
index ebbe318fc15..c421304442f 100644
--- a/lisp/vc/log-edit.el
+++ b/lisp/vc/log-edit.el
@@ -536,7 +536,7 @@ If you want to abort the commit, simply delete the buffer."
(or (= (point-min) (point-max))
(save-excursion
(goto-char (point-min))
- (while (and (looking-at "^\\(Summary: \\)?$")
+ (while (and (looking-at "^\\([a-zA-Z]+: \\)?$")
(zerop (forward-line 1))))
(eobp))))