diff options
author | jao <jao@gnu.org> | 2022-01-28 22:58:54 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-01-28 22:58:54 +0000 |
commit | 22702313a1f65abaa3bb691cc82cb50b1c14f455 (patch) | |
tree | 2f74923fcc40b476310b8a31537662171e7fc50d /elisp/geiser-impl.el | |
parent | 06be7163b4d5e7d2e2d65f604bf2098bdba969f2 (diff) | |
download | geiser-22702313a1f65abaa3bb691cc82cb50b1c14f455.tar.gz geiser-22702313a1f65abaa3bb691cc82cb50b1c14f455.tar.bz2 |
Back to using a real lambda value rather than a list
Thanks again to Stefan for a useful discussion.
Diffstat (limited to 'elisp/geiser-impl.el')
-rw-r--r-- | elisp/geiser-impl.el | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |