Peter Seibel peter@javamonkey.com writes:
According to the doc string for SWANK:EVAL-STRING, the string is supposed to be read and evaluated in the buffer's package. But because SWANK:READ-FORM binds *PACKAGE* to *SWANK-IO-PACKAGE* this doesn't seem to happen. Am I missing something?
You are right. The docstring isn't quite correct. We could probably remove one level of printing/reading by passing a form instead of the string. We could then rename the function to EVAL-FOR-EMACS.
Helmut.