|
From: | Pascal J. Bourguignon |
Subject: | Re: Evaluating a scheme buffer |
Date: | Wed, 08 Dec 2010 15:15:04 -0000 |
User-agent: | Gnus/5.101 (Gnus v5.10.10) Emacs/23.2 (gnu/linux) |
Mark Carter <alt.mcarter@gmail.com> writes: > I would like to write an emacs function to evaluate a buffer that it > in scheme mode; let's call it eval-scheme-buffer . Even better would > be to write a function eval-buffer that evaluates a buffer in whatever > mode the buffer is in (like Common Lisp). I am using inferior modes > here. > > How is this done? Have a look at inf-lisp.el where lisp-eval-region and others are defined. -- __Pascal Bourguignon__ http://www.informatimago.com/
[Prev in Thread] | Current Thread | [Next in Thread] |