emacs-devel
[Top][All Lists]
Advanced

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

Re: On DOS/Windows, unnecessary load of tramp by `file-relative-name'


From: Kai Großjohann
Subject: Re: On DOS/Windows, unnecessary load of tramp by `file-relative-name'
Date: Thu, 24 Apr 2003 16:12:28 +0200
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux)

David PONCE <address@hidden> writes:

> !         (unless (eq (aref filename 0) ?/)
>         (setq filename (concat "/" filename)))

> Maybe is there a better way to fix that?
> What do you think?

Instead of using (eq (aref filename 0) ?/), how about using
(file-name-absolute-p filename)?  Does that work?

-- 
file-error; Data: (Opening input file no such file or directory ~/.signature)





reply via email to

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