all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andre Spiegel <spiegel@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: "Symbol's value as variable is void" on vc-diff
Date: Mon, 19 Apr 2004 19:53:19 -0400	[thread overview]
Message-ID: <1082418799.1142.8.camel@localhost> (raw)
In-Reply-To: <20040416153410.6A6C.JMBARRANQUERO@wke.es>

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

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.)


[-- Attachment #2: vc.patch --]
[-- Type: text/x-patch, Size: 1104 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 141 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2004-04-19 23:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-16 10:07 "Symbol's value as variable is void" on vc-diff Juanma Barranquero
2004-04-16 10:27 ` Andre Spiegel
2004-04-16 13:41   ` Juanma Barranquero
2004-04-19 23:53     ` Andre Spiegel [this message]
2004-04-20  9:08       ` Juanma Barranquero
2004-04-20 10:55         ` Andre Spiegel
2004-04-20 11:14           ` Juanma Barranquero
2004-04-20 14:18             ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1082418799.1142.8.camel@localhost \
    --to=spiegel@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.