[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with file not found hook
From: |
Nikolaj Schumacher |
Subject: |
Re: help with file not found hook |
Date: |
Sat, 21 Mar 2009 13:26:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin) |
pedz <pedzsan@gmail.com> wrote:
> Questions:
> 1) After I find the file, I currently set buffer-file-name to the
> full path and then call insert-file-contents and return true. Is that
> what I should be doing?
I think you should call `find-alternate-file' with the new name. That
should take care of everything (including running the hook again).
regards,
Nikolaj Schumacher