This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: path-file not working properly?
Great, thanks Per.
On Wed, Apr 30, 2008 at 12:26 PM, Per Bothner <per@bothner.com> wrote:
> Ethan Herdrick wrote:
>
> > According to the docs:
> >
> > (path-file "http://gnu.org/home/me.html?add-bug#body") ⇒ "me.html"
> >
> > But what I get is this:
> >
> > #|kawa:25|# (path-file "http://gnu.org/home/me.html?add-bug#body")
> > "/home/me.html"
> >
>
> Oops. This is a doc bug. I fixed it.
>
>
>
> > Is this new behavior? If so, where is the "get the filename from the
> > path" function? path-last would probably work for me for now.
> >
>
> Yes, use path-last.
> --
> --Per Bothner
> per@bothner.com http://per.bothner.com/
>
--
Ethan Herdrick
www.biographicon.com - Everyone's biography.