]> git.eshelyaron.com Git - emacs.git/commitdiff
* vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 19 Oct 2011 21:43:41 +0000 (17:43 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 19 Oct 2011 21:43:41 +0000 (17:43 -0400)
lisp/ChangeLog
lisp/vc/log-edit.el

index 4081805a509070123cbaa91d56673107e3823c0e..5a16793633e55dea5be220694fb53f680fae25ea 100644 (file)
@@ -1,3 +1,7 @@
+2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
+
 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp.el (tramp-connectable-p): Make a stronger check on a
index ebbe318fc1534d81ef83c0d1a0a49194f261f2f1..c421304442f3bf8c922006dddf6c651dea602044 100644 (file)
@@ -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))))