[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auto-save-file-name-transforms too simple?
From: |
Kai Großjohann |
Subject: |
Re: auto-save-file-name-transforms too simple? |
Date: |
Wed, 21 Nov 2001 09:33:31 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu) |
"Stefan Monnier" <monnier+gnu/address@hidden> writes:
>> (defcustom auto-save-file-name-transforms
>> - '(("\\`/[^/]*:\\(.+/\\)*\\(.*\\)" "/tmp/\\2"))
>> + `(("\\`/[^/]*:\\(.+/\\)*\\(.*\\)"
>> + ,(format "%s\\2" (file-name-as-directory temporary-file-directory))))
>
> What's wrong with (expand-file-name "\\2" temporary-file-directory) ?
Silly me. Thanks. Committed.
But still, WIBNI this would do something smarter?
kai
--
Simplification good! Oversimplification bad! (Larry Wall)