diff options
author | Peter Wang <ptr.wang@gmail.com> | 2016-11-26 17:06:38 +0800 |
---|---|---|
committer | Peter Wang <ptr.wang@gmail.com> | 2016-11-26 17:06:38 +0800 |
commit | ae895088fab7593295dc16bc7d58a67321f92d46 (patch) | |
tree | 720887263e2638e68c3abc60d4f5859642e0419c /elisp/geiser-impl.el | |
parent | 8cbb0f27b3a9fbdd7ebfc425e9119fec8ccbf45f (diff) | |
download | geiser-guile-ae895088fab7593295dc16bc7d58a67321f92d46.tar.gz geiser-guile-ae895088fab7593295dc16bc7d58a67321f92d46.tar.bz2 |
fix malformed argument lists.
Emacs trunk does not support arguments list like (lambda (&rest) nil)
anymore, which breaks geiser and errors with "Invalid function: "
Diffstat (limited to 'elisp/geiser-impl.el')
-rw-r--r-- | elisp/geiser-impl.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-impl.el b/elisp/geiser-impl.el index cbc0b12..4f4f0ee 100644 --- a/elisp/geiser-impl.el +++ b/elisp/geiser-impl.el @@ -158,7 +158,7 @@ determine its scheme flavour." (= 2 (length m)) (symbolp (car m))) (if (functionp (cadr m)) m - `(,(car m) (lambda (&rest) ,(cadr m)))))) + `(,(car m) (lambda (&rest args) ,(cadr m)))))) (defun geiser-impl--define (file name parent methods) (let* ((methods (mapcar 'geiser-impl--normalize-method methods)) |