From: Erik Naggum Date: Fri, 29 Dec 1995 20:49:46 +0000 (+0000) Subject: (vc-backend-checkin): Use vc-checkin-switches. X-Git-Tag: emacs-19.34~1970 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90681ae2ef19f34cadf4751820ffbc2ddad19c17;p=emacs.git (vc-backend-checkin): Use vc-checkin-switches. --- diff --git a/lisp/vc.el b/lisp/vc.el index b72a763ea9f..64fa052e073 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -1981,9 +1981,9 @@ From a program, any arguments are passed to the `rcs2log' script." ;; Change buffers to get local value of vc-checkin-switches. (set-buffer (or (get-file-buffer file) (current-buffer))) (let ((switches - (if (stringp vc-checkout-switches) - (list vc-checkout-switches) - vc-checkout-switches))) + (if (stringp vc-checkin-switches) + (list vc-checkin-switches) + vc-checkin-switches))) ;; Clear the master-properties. Do that here, not at the ;; end, because if the check-in fails we want them to get ;; re-computed before the next try.