all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: Honor 'geiser-guile-load-path'
@ 2014-11-19  9:25 Ludovic Courtès
  2014-11-20  7:08 ` Alex Kost
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2014-11-19  9:25 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]

I found that guix.el would override my ‘geiser-guile-load-path’
settings.  This patch fixes that.  OK to apply?

Thanks,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 616 bytes --]

diff --git a/emacs/guix-backend.el b/emacs/guix-backend.el
index 6537888..a320eae 100644
--- a/emacs/guix-backend.el
+++ b/emacs/guix-backend.el
@@ -206,7 +206,8 @@ this address (it should be defined by
   ;; A mix of the code from `geiser-repl--start-repl' and
   ;; `geiser-repl--to-repl-buffer'.
   (let ((impl 'guile)
-        (geiser-guile-load-path (list guix-load-path))
+        (geiser-guile-load-path (cons guix-load-path
+                                      geiser-guile-load-path))
         (geiser-repl-startup-time guix-repl-startup-time))
     (with-current-buffer buffer
       (geiser-repl-mode)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] emacs: Honor 'geiser-guile-load-path'
  2014-11-19  9:25 [PATCH] emacs: Honor 'geiser-guile-load-path' Ludovic Courtès
@ 2014-11-20  7:08 ` Alex Kost
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Kost @ 2014-11-20  7:08 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Ludovic Courtès (2014-11-19 12:25 +0300) wrote:

> I found that guix.el would override my ‘geiser-guile-load-path’
> settings.  This patch fixes that.  OK to apply?
>
> Thanks,
> Ludo’.
>
> diff --git a/emacs/guix-backend.el b/emacs/guix-backend.el
> index 6537888..a320eae 100644
> --- a/emacs/guix-backend.el
> +++ b/emacs/guix-backend.el
> @@ -206,7 +206,8 @@ this address (it should be defined by
>    ;; A mix of the code from `geiser-repl--start-repl' and
>    ;; `geiser-repl--to-repl-buffer'.
>    (let ((impl 'guile)
> -        (geiser-guile-load-path (list guix-load-path))
> +        (geiser-guile-load-path (cons guix-load-path
> +                                      geiser-guile-load-path))
>          (geiser-repl-startup-time guix-repl-startup-time))
>      (with-current-buffer buffer
>        (geiser-repl-mode)

Sure!

-- 
Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-20  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-19  9:25 [PATCH] emacs: Honor 'geiser-guile-load-path' Ludovic Courtès
2014-11-20  7:08 ` Alex Kost

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.