* [bug#65586] [PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed
@ 2023-08-28 17:40 Janneke Nieuwenhuizen
2023-09-09 13:43 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Janneke Nieuwenhuizen @ 2023-08-28 17:40 UTC (permalink / raw)
To: 65586
* elisp/guix-misc.el (guix-set-emacs-environment): Set 'Info-directory-list'
when setting "INFOPATH" variable.
---
elisp/guix-misc.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/elisp/guix-misc.el b/elisp/guix-misc.el
index 93340a2..f4a7aaa 100644
--- a/elisp/guix-misc.el
+++ b/elisp/guix-misc.el
@@ -1,7 +1,7 @@
;;; guix-misc.el --- Miscellaneous definitions -*- lexical-binding: t -*-
;; Copyright © 2014–2018 Alex Kost <alezost@gmail.com>
-;; Copyright © 2018, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;; Copyright © 2018, 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;; This file is part of Emacs-Guix.
@@ -244,7 +244,9 @@ If PROFILE is nil, use `guix-current-profile'."
path)))
(setenv variable value)
(when (equal variable "PATH")
- (setq exec-path (split-string value ":")))))))
+ (setq exec-path (split-string value ":")))
+ (when (equal variable "INFOPATH")
+ (setq Info-directory-list (split-string value ":")))))))
\f
;;; Executing guix commands
--
2.41.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#65586] [PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed
2023-08-28 17:40 [bug#65586] [PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed Janneke Nieuwenhuizen
@ 2023-09-09 13:43 ` Ludovic Courtès
2023-09-09 13:56 ` bug#65586: " Janneke Nieuwenhuizen
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2023-09-09 13:43 UTC (permalink / raw)
To: Janneke Nieuwenhuizen; +Cc: 65586
Hi,
Janneke Nieuwenhuizen <janneke@gnu.org> skribis:
> * elisp/guix-misc.el (guix-set-emacs-environment): Set 'Info-directory-list'
> when setting "INFOPATH" variable.
LGTM, please push! :-)
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#65586: [PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed
2023-09-09 13:43 ` Ludovic Courtès
@ 2023-09-09 13:56 ` Janneke Nieuwenhuizen
0 siblings, 0 replies; 3+ messages in thread
From: Janneke Nieuwenhuizen @ 2023-09-09 13:56 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 65586-done
Ludovic Courtès writes:
> Janneke Nieuwenhuizen <janneke@gnu.org> skribis:
>
>> * elisp/guix-misc.el (guix-set-emacs-environment): Set 'Info-directory-list'
>> when setting "INFOPATH" variable.
>
> LGTM, please push! :-)
Thanks! Pushed to master as 3fba3f46483aa8ad4482ca2ae02d83a6f0fefd46
Greetings,
Janneke
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-09 13:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-28 17:40 [bug#65586] [PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed Janneke Nieuwenhuizen
2023-09-09 13:43 ` Ludovic Courtès
2023-09-09 13:56 ` bug#65586: " Janneke Nieuwenhuizen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).