unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: kai.grossjohann@gmx.net (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	[thread overview]
Message-ID: <84of2wvvar.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 21141901.1051181645426.JavaMail.www@wwinf0602

David PONCE <david.ponce@wanadoo.fr> 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	other threads:[~2003-04-24 14:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-24 10:54 On DOS/Windows, unnecessary load of tramp by `file-relative-name' David PONCE
2003-04-24 14:12 ` Kai Großjohann [this message]
2003-04-29 21:38 ` Stefan Monnier
2003-04-30  8:21   ` Kai Großjohann
  -- strict thread matches above, loose matches on Subject: below --
2003-04-24 14:44 David PONCE
2003-04-25 13:23 ` Kai Großjohann

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=84of2wvvar.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).