From patchwork Mon Aug 28 17:40:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 53270 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 47A6127BBEA; Mon, 28 Aug 2023 18:41:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AF8FA27BBE2 for ; Mon, 28 Aug 2023 18:41:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qagEU-0000kO-Vk; Mon, 28 Aug 2023 13:40:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qagES-0000k4-7e for guix-patches@gnu.org; Mon, 28 Aug 2023 13:40:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qagER-0003Sg-V2 for guix-patches@gnu.org; Mon, 28 Aug 2023 13:40:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qagEY-0007C4-Bb for guix-patches@gnu.org; Mon, 28 Aug 2023 13:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65586] [PATCH emacs-guix] elisp/guix-misc: Update Emacs Info-directory-list if needed Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Aug 2023 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65586 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65586@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169324443427592 (code B ref -1); Mon, 28 Aug 2023 17:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Aug 2023 17:40:34 +0000 Received: from localhost ([127.0.0.1]:49005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qagE5-0007As-Tx for submit@debbugs.gnu.org; Mon, 28 Aug 2023 13:40:34 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qagE4-0007Ac-LX for submit@debbugs.gnu.org; Mon, 28 Aug 2023 13:40:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qagDq-0000QC-Lt for guix-patches@gnu.org; Mon, 28 Aug 2023 13:40:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qagDm-0003Bw-3I; Mon, 28 Aug 2023 13:40:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=399sUoAsCrHbrwxJH62n4Y57NUeyBYZAO/j+t1oxVmE=; b=n9cSLZRd1cMebW sK0VbFNUgiYW3S/VGeYNsbzFomovcOs0e7RJZRsXKKwiolTY6OzEIDg7u0cRMZOmoH53FcSY8JEap wFcKJfptS6WEhjBlvmG3s/gBoTS5BWkqSQ7LPBYkFsKrEMKQcxDWGegHdbf8hnGE+NZpTpTljd3xo 5mxolaxHG2OJZU5fr30dsW9XZCikfivDDcK7k0dataQq/vt6moB6qF0HQMOMz3qbqQ72ceTuifJrr 4YiKq5QucgmZtU0Cx2+cQCSUhMwbJFANlHt8bAfD+A8MyazCTYYuA1N1hwoi7n66BMFeFdLPaPaUP UFuuYa003Ibx2ZH7pPpQ==; From: Janneke Nieuwenhuizen Date: Mon, 28 Aug 2023 19:40:06 +0200 Message-ID: <20230828174008.21189-1-janneke@gnu.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 -;; Copyright © 2018, 2020 Jan (janneke) Nieuwenhuizen +;; Copyright © 2018, 2020, 2023 Janneke Nieuwenhuizen ;; 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