GNU bug report logs -
#65586
[PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed
Previous Next
Reported by: Janneke Nieuwenhuizen <janneke <at> gnu.org>
Date: Mon, 28 Aug 2023 17:41:02 UTC
Severity: normal
Tags: patch
Done: Janneke Nieuwenhuizen <janneke <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 09 Sep 2023 15:56:17 +0200
with message-id <87jzszpi0u.fsf <at> gnu.org>
and subject line Re: bug#65586: [PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed
has caused the debbugs.gnu.org bug report #65586,
regarding [PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
65586: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65586
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* 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 <at> gmail.com>
-;; Copyright © 2018, 2020 Jan (janneke) Nieuwenhuizen <janneke <at> gnu.org>
+;; Copyright © 2018, 2020, 2023 Janneke Nieuwenhuizen <janneke <at> 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 ":")))))))
;;; Executing guix commands
--
2.41.0
[Message part 3 (message/rfc822, inline)]
Ludovic Courtès writes:
> Janneke Nieuwenhuizen <janneke <at> 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 <at> gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
This bug report was last modified 1 year and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.