[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4592: Bug in built-in function substitute-in-file-name
From: |
Mosur Mohan |
Subject: |
bug#4592: Bug in built-in function substitute-in-file-name |
Date: |
Wed, 30 Sep 2009 08:02:33 -0700 |
> What does
> (find-file-name-handler "/~/" 'substitute-in-file-name)
> return?
In both Emacs sessions, it returns nil.
--
Mohan
On Wed, Sep 30, 2009 at 2:07 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Mosur Mohan <mognush@gmail.com> writes:
>
>> When I start up Emacs, I go to the *scratch* buffer and eval
>> (substitute-in-file-name "/~/")
>> and I get the expected result
>> "~/"
>>
>> After running for a while, I notice that filename completion starts
>> giving errors. At this point, I re-try the above experiment:
>> (substitute-in-file-name "/~/")
>> But now, I get:
>> "/~/"
>>
>> I am not able to figure out what happened in between to make it stop
>> working correctly.
>
> What does
> (find-file-name-handler "/~/" 'substitute-in-file-name)
> return?
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>