--- vc-hooks.el.~1.167.~ 2004-04-16 06:21:51.000000000 -0400 +++ vc-hooks.el 2004-04-19 19:44:49.000000000 -0400 @@ -474,8 +474,8 @@ (indirect-function (vc-find-backend-function (vc-backend file) 'diff)))) - (not (eq (caddr err) 5))) - (signal 'wrong-number-of-arguments err) + (not (eq (caddr err) 4))) + (signal (car err) (cadr err)) (vc-call diff file)))))) (defun vc-workfile-version (file) --- vc.el.~1.376.~ 2004-04-16 06:21:24.000000000 -0400 +++ vc.el 2004-04-19 19:41:07.000000000 -0400 @@ -2361,7 +2361,7 @@ (vc-find-backend-function (vc-backend file) 'print-log)))) (not (eq (caddr err) 2))) - (signal 'wrong-number-of-arguments err) + (signal (car err) (cadr err)) ;; for backward compatibility (vc-call print-log file) (set-buffer "*vc*"))))