aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/emacs-geiser-guile-auto-activate.patch
blob: 44837f90df5f9efafa2c79feb55f8bbf3fcbbc88 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 93ef7101fdfcc7eac6f465b4b9788c384a323c14 Mon Sep 17 00:00:00 2001
From: jao <jao@gnu.org>
Date: Mon, 5 Apr 2021 20:17:50 +0100
Subject: [PATCH] fix: auto-activate guile implementation

---
 geiser-guile.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/geiser-guile.el b/geiser-guile.el
index 340442b..deeb76f 100644
--- a/geiser-guile.el
+++ b/geiser-guile.el
@@ -25,6 +25,7 @@
 (require 'geiser-syntax)
 (require 'geiser-custom)
 (require 'geiser-repl)
+(require 'geiser-impl)
 (require 'geiser-base)
 (require 'geiser-eval)
 (require 'geiser-edit)
@@ -474,6 +475,9 @@ it spawn a server thread."
 
 (geiser-impl--add-to-alist 'regexp "\\.scm$" 'guile t)
 
+;;;###autoload
+(geiser-activate-implementation 'guile)
+
 ;;;###autoload
 (autoload 'run-guile "geiser-guile" "Start a Geiser Guile REPL." t)
 
-- 
GitLab