[Top][All Lists]

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

Re: [PATCH] find-file-noselect-1

From: Stefan Monnier
Subject: Re: [PATCH] find-file-noselect-1
Date: Thu, 10 Feb 2005 22:16:56 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

>> Is this not something that could be served by a hook?  Or _should_ be
>> served by a hook?

> Yes, that's good feedback. vc adds vc-find-file-hook to find-file-hook
> in vc-hooks.el. However, that file is built into Emacs through loadup.
> Where could I add such a hook, so that it would always be included?

Why would you always need it?  I mean it can only needed if gdba.el is
loaded, right?
So what's wrong with adding

  (add-hook 'find-file-hook 'gdb-find-file-hook)

at the top-level of gdba.el ?


reply via email to

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