From 6ae51474d59444f44f7b363acbcbcefd0551cd5b Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Thu, 12 Nov 2009 18:54:55 +0100 Subject: Bug fix: links in documentation buffers work again. * elisp/geiser-impl.el (with--geiser-implementation): macro was not setting the implementation environment correctly. --- elisp/geiser-impl.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'elisp/geiser-impl.el') diff --git a/elisp/geiser-impl.el b/elisp/geiser-impl.el index 2fb0828..e870be3 100644 --- a/elisp/geiser-impl.el +++ b/elisp/geiser-impl.el @@ -236,17 +236,18 @@ buffer contains Scheme code of the given implementation.") (defmacro with--geiser-implementation (impl &rest body) (let* ((mbindings (mapcar (lambda (m) `(,(nth 0 m) - (geiser-impl--registered-method ',impl + (geiser-impl--registered-method ,impl ',(nth 1 m) ',(nth 2 m)))) geiser-impl--local-methods)) (vbindings (mapcar (lambda (m) `(,(nth 0 m) - (geiser-impl--registered-value ',impl + (geiser-impl--registered-value ,impl ',(nth 1 m) ',(nth 2 m)))) geiser-impl--local-variables)) - (bindings (append mbindings vbindings))) + (ibindings `((geiser-impl--implementation ,impl))) + (bindings (append ibindings mbindings vbindings))) `(let* ,bindings ,@body))) (put 'with--geiser-implementation 'lisp-indent-function 1) -- cgit v1.2.3