Re: [PATCH] guile-readline: Use an empty string if HOME is unset

2014-09-10 Thread David Michael
On Wed, Sep 10, 2014 at 1:00 PM, Eli Zaretskii wrote: >> From: David Michael >> Date: Tue, 09 Sep 2014 17:28:42 -0400 >> >> -(define-once history-file (string-append (getenv "HOME") "/.guile_history")) >> +(define-once history-file >> +

[PATCH] guile-readline: Use an empty string if HOME is unset

2014-09-10 Thread David Michael
* guile-readline/ice-9/readline.scm (history-file): When the HOME environment variable is unset, use the empty string in its place. --- Hi, If a Guile program uses the readline module without setting HOME, it will fail due to string-append getting a #f argument. In particular, this necessitate