help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find-file "before" hook.


From: Lennart Borgman
Subject: Re: find-file "before" hook.
Date: Wed, 29 Jul 2009 23:58:13 +0200

On Wed, Jul 29, 2009 at 10:47 PM, Michal<rabbitko@tenbit.pl> wrote:
> Hallo Group Members
>
> I would like to invoke some action just before file is opened. I do not
> see any hook that would allow it for me. find-file-hook is invoked after
> file is opened.
>
> Do YOu know any or have an idea on how to do it. I imagine 2 ways:
> - overloading find-file - I do not like it.
> - advising find-file. ... but maybe there is better solution:)

There are file handlers too. Look in for example sex-mode.el that
comes with nXhtml.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]