guile-devel
[Top][All Lists]
Advanced

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

Re: Trouble using (current-filename)


From: Andy Wingo
Subject: Re: Trouble using (current-filename)
Date: Sat, 18 Feb 2012 21:58:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Fri 17 Feb 2012 23:49, address@hidden (Ludovic Courtès) writes:

> Would it work to let the user call it themself if needed, like:
>
>   (add-to-load-path (dirname (canonicalize-path (current-filename))))

I would rather have current-filename do a

  (or (false-if-exception (canonicalize-path p)) p)

Current-filename sounds like it should do the right thing, if possible.

Andy
-- 
http://wingolog.org/



reply via email to

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