Starting inferior lisp automatically

"Thomas F. Burdick" <[email protected]> Mon, 1 Sep 2003 11:25:05 -0700
Newsgroups gmane.lisp.ilisp.general
Message-ID <[email protected]>
Matthew Calhoun writes:
 > Currently when I load a lisp source file into Emacs, Lisp mode and 
 > ilisp are loaded, but no inferior Lisp process is started. Does anyone 
 > know what I need in my .emacs to make openmcl start up automatically 
 > (if it's not already running) when a Lisp file is loaded?

Something like the following should work:

(add-hook 'lisp-mode-hook
          (lambda () (save-excursion (openmcl))))

-- 
           /|_     .-----------------------.                        
         ,'  .\  / | No to Imperialist war |                        
     ,--'    _,'   | Wage class war!       |                        
    /       /      `-----------------------'                        
   (   -.  |                               
   |     ) |                               
  (`-.  '--.)                              
   `. )----'                               


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf