summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
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))