emacs-devel
[Top][All Lists]
Advanced

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

Re: patch: fix wrong-type-argument error in vc-registered


From: Stefan Monnier
Subject: Re: patch: fix wrong-type-argument error in vc-registered
Date: Tue, 12 Oct 2004 12:14:39 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

> 2004-09-12  Stefan Monnier  <address@hidden>

>         * vc-hooks.el (vc-ignore-dir-regexp): New var.

> overlooked that (file-name-directory file) may return nil.
> Following is the patch against it.

Hmm... your patch looks fine, except that I don't understand why it's
needed: I thought vc-registered is only ever called with an absolute file
name, and (file-name-directory file) never returns nil if file is an
absolute file name.

In which cases does it return nil on an absolute file name, or in which
cases is vc-registered called with a non-absolute file name?


        Stefan




reply via email to

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