emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Symbol's value as variable is void" on vc-diff


From: Andre Spiegel
Subject: Re: "Symbol's value as variable is void" on vc-diff
Date: Mon, 19 Apr 2004 19:53:19 -0400

On Fri, 2004-04-16 at 09:41, Juanma Barranquero wrote:

> Were you waiting for that

Ah, now I see what I did wrong.  Sorry, the problem should be fixed by
the patch below.  (I can't install it right now because somehow I can't
get savannah access.)

--- 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*"))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]