aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2011-10-19 17:43:41 -0400
committerStefan Monnier2011-10-19 17:43:41 -0400
commit89400f1da21c47f39b3dd96f48382c31aa6dde86 (patch)
tree05ee3d591d46e58741366dc156a9bfebc84e41de
parent305c07f6ae3dbf10a6c069e2031fb4b0bca3d254 (diff)
downloademacs-89400f1da21c47f39b3dd96f48382c31aa6dde86.tar.gz
emacs-89400f1da21c47f39b3dd96f48382c31aa6dde86.zip
* vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc/log-edit.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4081805a509..5a16793633e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4
12011-10-19 Michael Albinus <michael.albinus@gmx.de> 52011-10-19 Michael Albinus <michael.albinus@gmx.de>
2 6
3 * net/tramp.el (tramp-connectable-p): Make a stronger check on a 7 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
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."
536 (or (= (point-min) (point-max)) 536 (or (= (point-min) (point-max))
537 (save-excursion 537 (save-excursion
538 (goto-char (point-min)) 538 (goto-char (point-min))
539 (while (and (looking-at "^\\(Summary: \\)?$") 539 (while (and (looking-at "^\\([a-zA-Z]+: \\)?$")
540 (zerop (forward-line 1)))) 540 (zerop (forward-line 1))))
541 (eobp)))) 541 (eobp))))
542 542