From bb9d5cb200a5c0410af4eb63d244e5445614366c Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 28 Jan 2022 19:47:36 +0000 Subject: geiser-impl--normalize-method: quick fix for previous change I haven't fully understood why, the two versions seem at first sight equivalent, but they're not behaving equivalently. --- elisp/geiser-impl.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'elisp') diff --git a/elisp/geiser-impl.el b/elisp/geiser-impl.el index a867da9..53a7a82 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 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,9 +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 _) ,v)))))) (defun geiser-impl--define (file name parent methods) (let* ((methods (mapcar #'geiser-impl--normalize-method methods)) -- cgit v1.2.3