From 22702313a1f65abaa3bb691cc82cb50b1c14f455 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 28 Jan 2022 22:58:54 +0000 Subject: Back to using a real lambda value rather than a list Thanks again to Stefan for a useful discussion. --- elisp/geiser-impl.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'elisp') diff --git a/elisp/geiser-impl.el b/elisp/geiser-impl.el index 53a7a82..67258cc 100644 --- a/elisp/geiser-impl.el +++ b/elisp/geiser-impl.el @@ -1,6 +1,6 @@ ;;; geiser-impl.el -- generic support for scheme implementations -*- lexical-binding: t; -*- -;; Copyright (C) 2009, 2010, 2012, 2013, 2015, 2016, 2019, 2021, 2022 Jose Antonio Ortega Ruiz +;; Copyright (C) 2009-2010, 2012-2013, 2015-2016, 2019, 2021-2022 Jose Antonio Ortega Ruiz ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the Modified BSD License. You should @@ -158,7 +158,7 @@ in order to determine its scheme flavour." (= 2 (length m)) (symbolp (car m))) (let ((v (cadr m))) - (if (functionp v) m `(,(car m) (lambda (&rest _) ,v)))))) + (if (functionp v) m `(,(car m) ,(lambda (&rest _) (eval v t))))))) (defun geiser-impl--define (file name parent methods) (let* ((methods (mapcar #'geiser-impl--normalize-method methods)) -- cgit v1.2.3