From: jadamson@partners.org (Joel J. Adamson)
To: help-gnu-emacs@gnu.org
Subject: Re: load some code after execute a function
Date: Wed, 22 Aug 2007 10:48:09 -0400 [thread overview]
Message-ID: <87zm0j8w2e.fsf@W0053328.mgh.harvard.edu> (raw)
In-Reply-To: 1187740441.364697.148450@l22g2000prc.googlegroups.com
someusernamehere <someusernamehere@gmail.com> writes:
> 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)
That's called a "hook." Consult the Emacs lisp manual.
Joel
--
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA 02114
(617) 643-1432
(303) 880-3109
next prev parent reply other threads:[~2007-08-22 14:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-21 23:54 load some code after execute a function someusernamehere
2007-08-22 14:48 ` Joel J. Adamson [this message]
2007-08-24 21:47 ` David Kastrup
2007-08-29 17:30 ` Exal de Jesus Garcia Carrillo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zm0j8w2e.fsf@W0053328.mgh.harvard.edu \
--to=jadamson@partners.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).