From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: info-lookup-alist mangled, breaks C-h S Date: Wed, 05 Jan 2022 18:46:47 +0200 Message-ID: <83fsq29ll4.fsf@gnu.org> References: <87ee5o7eun.fsf@gnu.org> <83ee5nblfv.fsf@gnu.org> <83bl0rbl11.fsf@gnu.org> <87tueidwo3.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13680"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 05 17:48:00 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n59SB-0003Mm-TU for ged-emacs-devel@m.gmane-mx.org; Wed, 05 Jan 2022 17:48:00 +0100 Original-Received: from localhost ([::1]:36772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n59S9-0001hE-Vv for ged-emacs-devel@m.gmane-mx.org; Wed, 05 Jan 2022 11:47:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n59Qs-00005O-4E for emacs-devel@gnu.org; Wed, 05 Jan 2022 11:46:38 -0500 Original-Received: from [2001:470:142:3::e] (port=46786 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n59Qr-000450-Oa; Wed, 05 Jan 2022 11:46:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3/ZmmgFtf9KnfjVm55+vIbgHhnEWNU+iMzQFSFjzkEU=; b=hEjGW2vQysvY AfQpS30WKkcuB5jJZwA3FnDrc39NfR261u8CbvNnfCWrI8WcFyH5KwoJb14lvuchKaicRsXpVxSGd a9WFhapZZEWPS18lSPYQLzN2Gms13/zEARkCq1HHRKmyflCCgsqTPHxeXFj9Rmas9jiX9XGD5/af5 lkRjEDe7l+lM4x2nQcviWcKfxrOIhWoh7/fzKCxc3e6pEHFnVRRUViTqbkM9z2FqhD2PqWc8jBkW8 DTeNV92IaiDq8xWfXgsBSttALpONWzcsHBySO7D7RwaMNV1NlN9faI8rCBffEe/8skHllDOhA8rSW fxED1h4JwKAr2I/ECjCCMg==; Original-Received: from [87.69.77.57] (port=2787 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n59Qr-0001bk-OH; Wed, 05 Jan 2022 11:46:38 -0500 In-Reply-To: <87tueidwo3.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 05 Jan 2022 16:33:48 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:284251 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Wed, 05 Jan 2022 16:33:48 +0100 > > Eli Zaretskii writes: > > > +(mapc > > + (lambda (elem) > > + (let* ((prefix (car elem))) > > + (info-lookup-add-help > > + :mode (cons 'emacs-lisp-mode prefix) <<<<<<<<<<<<<<<<< > > > > Now HELP-MODE could be a cons cell, not just a symbol. But the doc > > string of info-lookup-alist was not updated, and therefore the > > semantics of this form is not documented. What does that cons cell > > value mean? > > The doc string change you've done looks correct to me. Great, thanks.