[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: load some code after execute a function
From: |
Joel J. Adamson |
Subject: |
Re: load some code after execute a function |
Date: |
Wed, 22 Aug 2007 10:48:09 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
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