|
From: | Thien-Thi Nguyen |
Subject: | Re: Lisp code to expand /~ and // but not env vars? |
Date: | Mon, 03 Oct 2005 22:40:48 +0200 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Drew Adams" <drew.adams@oracle.com> writes: > Can anyone suggest a way to do this /~ and // conversion in Lisp? double the dollar signs in the arg to `substitute-in-file-name'. something like: given-input => "def/~/abc/$HOME" (double-dollar-signs given-input) => "def/~/abc/$$HOME" (substitute-in-file-name (double-dollar-signs given-input)) => "~/abc/$HOME" you can write `double-dollar-signs' in various ways... thi
[Prev in Thread] | Current Thread | [Next in Thread] |