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

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

Re: load some code after execute a function


From: Exal de Jesus Garcia Carrillo
Subject: Re: load some code after execute a function
Date: Wed, 29 Aug 2007 12:30:17 -0500
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50.1 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

someusername em gnu.emacs.help escreveu:

> This is the question, I want to load some code when I execute a code,
> for example, when I execute "erc" this code should be executed:
> (require 'bar)
> (my-foo-bar)

You need to add a hook.

- -- 
Spam protection: 
In my e-mail remplace the words `no-spam' with `exal'.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFG1a0ooZmxoVJRtGIRAlSvAJ9zCuQ4fSilXOKNfiMCZRk9tDVKewCghf6G
AxMhoCTzr57NQApO7MQ9Mqs=
=WE85
-----END PGP SIGNATURE-----


reply via email to

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