- Subject: Re: Few more requests
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Mon, 17 Oct 2005 18:11:24 -0400
Joerg Sommer <joerg@xxxxxxxxxxxx> wrote:
>define make_backup_filename(file)
>{
> (file,) = strreplace(file, "/", "_", strlen(file));
> return "~/.jed/backups/"+file;
>}
You will need to add a call to expand_filename if you want the ~ to be
expanded to the home directory. That is, use
return expand_filename (path_concat ("~/.jed/backups", file));
Thanks,
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]