summary refs log tree commit diff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorFederico Beffa <beffa@fbengineering.ch>2015-12-24 11:53:12 +0100
committerFederico Beffa <beffa@fbengineering.ch>2016-02-03 10:47:21 +0100
commite037a09f1d5ea07b2611d706c7fadb65701a0d79 (patch)
treea025d1e2c568a2e17aa626a9a0c7eabacbb6fd91 /gnu/packages/patches
parentfd9a5b0fc3594cf3c62099f01502a150a54823fc (diff)
downloadguix-e037a09f1d5ea07b2611d706c7fadb65701a0d79.tar.gz
gnu: Add emacs-scheme-complete.
* gnu/packages/emacs.scm (emacs-scheme-complete): New variable.
* gnu/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add the new patch.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch b/gnu/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch
new file mode 100644
index 0000000000..6c49bdcdde
--- /dev/null
+++ b/gnu/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch
@@ -0,0 +1,14 @@
+Fix completion for R5RS Scheme.
+See https://github.com/ashinn/scheme-complete/issues/1
+
+--- scheme-complete-master/scheme-complete.el.orig	2015-12-25 21:59:09.896909029 +0100
++++ scheme-complete-master/scheme-complete.el	2015-12-25 21:59:17.924993998 +0100
+@@ -591,7 +591,7 @@
+            '((exact->inexact (lambda (z) z))
+              (inexact->exact (lambda (z) z)))
+            (mapcar #'(lambda (x)
+-                       (list x (scheme-env-lookup *scheme-r7rs-info* x)))
++                       (scheme-env-lookup *scheme-r7rs-info* x))
+                    *scheme-r5rs-bindings*))))
+   *scheme-r5rs-info*)
+