
18 Jan
2004
18 Jan
'04
9:52 p.m.
Janis Dzerins <jdz@dir.lv> writes:
---8<---cut-here---8<--- ;;; -*- mode: LISP; package: FOO -*-
I just fixed this interesting bug. The code in question looks like this: (defun slime-eval-with-transcript (form package &optional fn) (with-current-buffer (slime-output-buffer) (slime-eval-async form package ... PACKAGE is unbound inside the with-current-buffer form, because package is a buffer local variable and the local binding is not in effect in the other buffer. Isn't this funny? I wonder how many people write code like the above and what would happen with a file specification like: ;;; -*- mode: LISP; string: FOO; buffer: FOO; list FOO .... Helmut.