[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simple question on loading programs in emacs
From: |
Barry Margolin |
Subject: |
Re: Simple question on loading programs in emacs |
Date: |
Fri, 30 Nov 2012 19:55:22 -0500 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <87lidjgf3v.fsf@engels.HistoricalMaterialism.info>,
Haines Brown <haines@histomat.net> wrote:
> A simple question, but I'm lost in the manual. I want to start a session
> of emacs that automatically loads an emacs program automatically instead
> of having to do M-x program during the emacs session. I want to do this
> because I have a custom emacs init file just for that emacs program.
>
> I tried (autoload 'program "ProgramName" t), but this only sets it in
> the environment.
>
> A related question: When I close that program within emacs, I want
> it to close the emacs session as well.
Maybe Emacs Batch Mode is what you're looking for. See
http://www.emacswiki.org/BatchMode
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***