]> git.eshelyaron.com Git - emacs.git/commitdiff
Pass SVN commit message through log-edit-extract-headers
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 25 Nov 2015 02:10:24 +0000 (04:10 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 25 Nov 2015 02:10:24 +0000 (04:10 +0200)
* lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
log-edit-extract-headers (bug#18954).

lisp/vc/vc-svn.el

index de58fb91c62c44780751590f5213d260314afc02..62689a3842348cd58ccbc8cd0b52499d68c9e8e3 100644 (file)
@@ -313,7 +313,8 @@ to the SVN command."
   "SVN-specific version of `vc-backend-checkin'."
   (let ((status (apply
                  'vc-svn-command nil 1 files "ci"
-                 (nconc (list "-m" comment) (vc-switches 'SVN 'checkin)))))
+                 (nconc (cons "-m" (log-edit-extract-headers comment))
+                        (vc-switches 'SVN 'checkin)))))
     (set-buffer "*vc*")
     (goto-char (point-min))
     (unless (equal status 0)