summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-01-28 19:47:36 +0000
committerjao <jao@gnu.org>2022-01-28 19:47:36 +0000
commitbb9d5cb200a5c0410af4eb63d244e5445614366c (patch)
treeab5404092e96e93a9e40eb86665f2867105c3c84 /elisp
parentd89fb1f66e125973c1596ad5cb00a46ea7ce9c52 (diff)
downloadgeiser-bb9d5cb200a5c0410af4eb63d244e5445614366c.tar.gz
geiser-bb9d5cb200a5c0410af4eb63d244e5445614366c.tar.bz2
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.
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-impl.el6
1 files changed, 2 insertions, 4 deletions
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))