From: Janneke Nieuwenhuizen <janneke@gnu.org>
To: 65586@debbugs.gnu.org
Subject: [bug#65586] [PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed
Date: Mon, 28 Aug 2023 19:40:06 +0200 [thread overview]
Message-ID: <20230828174008.21189-1-janneke@gnu.org> (raw)
* 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
next reply other threads:[~2023-08-28 17:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-28 17:40 Janneke Nieuwenhuizen [this message]
2023-09-09 13:43 ` [bug#65586] [PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed Ludovic Courtès
2023-09-09 13:56 ` bug#65586: " Janneke Nieuwenhuizen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230828174008.21189-1-janneke@gnu.org \
--to=janneke@gnu.org \
--cc=65586@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).