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

[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 <address@hidden>,
 Haines Brown <address@hidden> 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, address@hidden
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


reply via email to

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