Received: (at submit) by debbugs.gnu.org; 7 Apr 2025 13:47:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 07 09:47:24 2025 Received: from localhost ([127.0.0.1]:53512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u1mou-0001PN-6a for submit <at> debbugs.gnu.org; Mon, 07 Apr 2025 09:47:24 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40516) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rrt@HIDDEN>) id 1u1mos-0001Oy-77 for submit <at> debbugs.gnu.org; Mon, 07 Apr 2025 09:47:22 -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 <rrt@HIDDEN>) id 1u1mol-0001DD-AR for bug-gnu-emacs@HIDDEN; Mon, 07 Apr 2025 09:47:16 -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 <rrt@HIDDEN>) id 1u1mok-00011c-NC for bug-gnu-emacs@HIDDEN; Mon, 07 Apr 2025 09:47:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by fencepost.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rrt@HIDDEN>) id 1u1moj-0003lM-Rv for bug-emacs@HIDDEN; Mon, 07 Apr 2025 09:47:14 -0400 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <rrt@HIDDEN>) id 1u1moi-000115-3u for bug-emacs@HIDDEN; Mon, 07 Apr 2025 09:47:13 -0400 Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-e6582542952so3049112276.3 for <bug-emacs@HIDDEN>; Mon, 07 Apr 2025 06:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1744033631; x=1744638431; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=f7QQ+DI35uabdKjbmlAwJ6h2ebrHcKqps1tOZVGxMhM=; b=NYsX+wNLT6fcs7DrcgzvgFmUHJ9XpS+0ZFYJMe/dQRuI8Nng9rDmnGRPucRKVfuZTI E8NFBxbYlYrLc3j5PvfvFpKCp/v9q/yLFyrsHiknzuJszc5C7OgX3yV8f6AmVCsvEd4E Gcxh/SdcmGWpyVW332calUqV7dtZMkKsa1TV4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744033631; x=1744638431; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=f7QQ+DI35uabdKjbmlAwJ6h2ebrHcKqps1tOZVGxMhM=; b=TC5yDy8Hnb3VGvLY8E0T853cYAMdaoL6N4Dhkn4yTIbDCZoRXzCS38kBw5JXXGj1/i VIJmK/zoyDwAwFT8bHtfl+6mdpqROQ6h+563dTkg1B5Ccbc2uh+MHOOBRHEGtktAZNnk zsl+aX+yA+nAP0i3Pb//21i0m4pJcfOmcd3w7La7jvbpMluS2O2TH583kBDFxHC9VAPO PVcxXkG7CTzmInOBjqrTOJ3DgXWAQI63yfB/joYIwKbktUcd3FiojkrLLDWNzbDWJIry MNDsVUiwXWxKZrApmvYlo6EjqPsDqu3KEpIIkcj7tJXmjDnomaQ0ORdqcQfNDezjRk+W 6swQ== X-Gm-Message-State: AOJu0YyuAYNKVlGjHR268AQ3ZXn5h8EGMlr4M4QIJYUruKFnV7LY9EbZ ozh6tRiv3EUeSjFT5UHl5tqvmDDPMJADdj+lLK7szF4XxRKCkCHrBFUy1Ts1oqs6lPYUcwNLfm7 RGgYTnZpmAp8cqaP4/DAVFacgC2b4D1C/gejJC5la5ZdHOm02Dng= X-Gm-Gg: ASbGnct34O+SLpxgv6jHF7suKsWd51m62cZpJhofAoZxC9FGZrADqHCGyOs7+nEWvvp ckzB8EVW1Zq5+wTkY/EdqDPky9BHb8H3NdCF0KkaZDC8/94WXJcKDstFd7w0qYDiRm5cCwIeM+7 5CqxgQZIEQDzzWxFTaV4UkFyPKzP8= X-Google-Smtp-Source: AGHT+IHknVOiAkIskQnPUoAjlDX94vmkmf23ZVtaYgAbi/RJFlu4KU/IlKaKlL4KTVsM/qFnMJmV5tercLTVyLREas4= X-Received: by 2002:a05:6902:248e:b0:e6d:ddaf:ab24 with SMTP id 3f1490d57ef6-e6e316d11bbmr13824275276.8.1744033631118; Mon, 07 Apr 2025 06:47:11 -0700 (PDT) MIME-Version: 1.0 References: <CAOnWdojXQF6HwXfF8prLKuV3Y-VdpghUsFR8HMxENaJo0AKUtw@HIDDEN> In-Reply-To: <CAOnWdojXQF6HwXfF8prLKuV3Y-VdpghUsFR8HMxENaJo0AKUtw@HIDDEN> From: Reuben Thomas <rrt@HIDDEN> Date: Mon, 7 Apr 2025 14:46:59 +0100 X-Gm-Features: ATxdqUEk1CY2xjxS6hJIxI6HXq-xkeNZ8JaXnlntfJS7mURRNTuegEJE_LoxNc4 Message-ID: <CAOnWdogfkwTVF9te2UJq+gPEv++oUqfRQi4SVKxEmYiD_RWS8g@HIDDEN> Subject: Re: How to add multiple functions to one hook with :hook in use-package? To: bug-emacs <bug-emacs@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000000f45c20632307918" Received-SPF: pass client-ip=2607:f8b0:4864:20::b2a; envelope-from=rrt@HIDDEN; helo=mail-yb1-xb2a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) --0000000000000f45c20632307918 Content-Type: text/plain; charset="UTF-8" On Mon, 7 Apr 2025 at 14:43, Reuben Thomas <rrt@HIDDEN> wrote: > > I tried other things, and searching online, and even looking at the source > code for use-package, but I can't work it out. > I had another look at the source code, and found this: (concat label " a <symbol> or (<symbol or list of symbols> . <symbol or function>)" " or list of these") It's unfortunate that this is part of an error message, as I've never seen the error, but I think this explains the syntax, and indeed says that you can't add multiple functions to a single hook with one :hook line; in other words, it would be necessary to write something like: (use-package foo-mode :hook ((foo-mode . function-a) (foo-mode . function-b))) -- https://rrt.sc3d.org --0000000000000f45c20632307918 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:arial,helvetica,sans-serif;font-size:small">On Mon, 7 Apr 2025 at = 14:43, Reuben Thomas <<a href=3D"mailto:rrt@HIDDEN">rrt@HIDDEN</a>&g= t; wrote:</div></div><div class=3D"gmail_quote gmail_quote_container"><bloc= kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:= 1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><br><div><div= style=3D"font-family:arial,helvetica,sans-serif;font-size:small">I tried o= ther things, and searching online, and even looking at the source code for = use-package, but I can't work it out.</div></div></div></blockquote><di= v><br></div><div><div style=3D"font-family:arial,helvetica,sans-serif;font-= size:small" class=3D"gmail_default">I had another look at the source code, = and found this:</div><div style=3D"font-family:arial,helvetica,sans-serif;f= ont-size:small" class=3D"gmail_default"><br></div><div style=3D"font-family= :arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default">=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 (concat label " a <symbol> or= (<symbol or list of symbols> . <symbol or function>)"<br>= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"= or list of these")</div></div><div><br></div><div><div style=3D"font-= family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default">= It's unfortunate that this is part of an error message, as I've nev= er seen the error, but I think this explains the syntax, and indeed says th= at you can't add multiple functions to a single hook with one :hook lin= e; in other words, it would be necessary to write something like:</div><div= style=3D"font-family:arial,helvetica,sans-serif;font-size:small" class=3D"= gmail_default"><br></div><div style=3D"font-family:arial,helvetica,sans-ser= if;font-size:small" class=3D"gmail_default">(use-package foo-mode</div><div= style=3D"font-family:arial,helvetica,sans-serif;font-size:small" class=3D"= gmail_default">=C2=A0=C2=A0 :hook</div><div style=3D"font-family:arial,helv= etica,sans-serif;font-size:small" class=3D"gmail_default">=C2=A0=C2=A0 ((fo= o-mode . function-a)</div><div style=3D"font-family:arial,helvetica,sans-se= rif;font-size:small" class=3D"gmail_default">=C2=A0=C2=A0 (foo-mode . funct= ion-b)))<br></div></div><div>=C2=A0</div></div><span class=3D"gmail_signatu= re_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div di= r=3D"ltr"><div><div dir=3D"ltr"><a href=3D"https://rrt.sc3d.org" target=3D"= _blank">https://rrt.sc3d.org</a></div></div></div></div></div> --0000000000000f45c20632307918--
bug-gnu-emacs@HIDDEN
:bug#77609
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 7 Apr 2025 13:45:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 07 09:45:07 2025 Received: from localhost ([127.0.0.1]:53480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u1mmg-0006ly-1F for submit <at> debbugs.gnu.org; Mon, 07 Apr 2025 09:45:07 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53770) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rrt@HIDDEN>) id 1u1mmd-0006bW-8C for submit <at> debbugs.gnu.org; Mon, 07 Apr 2025 09:45:04 -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 <rrt@HIDDEN>) id 1u1mmX-0000iR-U2 for bug-gnu-emacs@HIDDEN; Mon, 07 Apr 2025 09:44:57 -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 <rrt@HIDDEN>) id 1u1mmX-0000fQ-M5 for bug-gnu-emacs@HIDDEN; Mon, 07 Apr 2025 09:44:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by fencepost.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rrt@HIDDEN>) id 1u1mmX-0002aD-DO for bug-emacs@HIDDEN; Mon, 07 Apr 2025 09:44:57 -0400 Received: from mail-yw1-x1134.google.com ([2607:f8b0:4864:20::1134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <rrt@HIDDEN>) id 1u1mmU-0000cy-C1 for bug-emacs@HIDDEN; Mon, 07 Apr 2025 09:44:57 -0400 Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-6f666c94285so46728337b3.3 for <bug-emacs@HIDDEN>; Mon, 07 Apr 2025 06:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1744033432; x=1744638232; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Vk6Y3GI02uqOYJZKOX2c7ZQlHVVIwGoI8OmqUJDKpYA=; b=jEWqssTBLHAS2Rxc/d6h95B/VN3Cz8enls8MznZaYQYGcS+VNpldhDvUQ3eslzaaES uthJScmxq/bgD5fYaohURkap2NLlwZTu8qEwOR+3gVDGSajPXK3y9KyI7gK8nr9cBHvk 8fqLfQhOn9poydIFGio2eCs+VIUfAlpWEOIPk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744033432; x=1744638232; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Vk6Y3GI02uqOYJZKOX2c7ZQlHVVIwGoI8OmqUJDKpYA=; b=Mt0Uu7oTDmcnRGtMm0nuRnuL2KPakJlyGa8Rz2ypzCq5ZV7VQZ3hy6UTIvczNqHyBq vVZkjsI9kVCTlVLuKfFsUIxr6ZcWgneCmDhEKZ7ddMwTlq7uTu19bY33Nz8aFuZ95rIn tNu5/gttAPMlQP5RahvziF5P6rbTpUF3EWB1afNtr4CmE3lLXIB4Ppe+Jij/lishadCj DSPFLdfCc7FLhWpMSEowNJae6rO8W9X+OM2B3ZZYl0mIwh9P+zvYQuPWDV2WEXgspmOg VIzYXTn62VbLvdETawR2+meEgLejdG2ixNUedBe5hd7VTAN/5IfZThr8a0cDvHvehBVl ueCA== X-Gm-Message-State: AOJu0Yz4xktzJkyoFvK7xCBjXWz70Q+zK+y4pR9Y5pNV6yJRmDEZGfL4 MrO9mLfY9vGIlItkrOSA0UdLHZwlUnXGPhD4/ehrzzumsicV/KeyOh7rc168iVH+VcA24CZPT+1 XLpyBkccVNrrhrs193Ra+N3NT3wwE3ho8Ef/xK8thhAaHOPV8PCA= X-Gm-Gg: ASbGncvm3D1EO8VeQPmsBDS9Zzqifd+c7AtmYhd4oWBy9luj7BVntx/rxEKRE4ldNp7 SPwACIW/U7BaevrXtMs5NPdaDmDD8Do8SZTfBn9sC6IkiKDwpaZnUi7qxS0fNiRwDFivWU8hfIi 4hcmRA8p+gki4plAJWja78Yuvh1kA= X-Google-Smtp-Source: AGHT+IGbb3d5f6cEKssfH6vCdzUGpUEbMW6vShRjO/bhrHVKu1CuySGM59SbAPF/6JzeYNBXN2clzHp487KPxDQerzM= X-Received: by 2002:a05:6902:4809:b0:e6d:f41c:6bdb with SMTP id 3f1490d57ef6-e6e316c5b62mr14331416276.6.1744033431727; Mon, 07 Apr 2025 06:43:51 -0700 (PDT) MIME-Version: 1.0 From: Reuben Thomas <rrt@HIDDEN> Date: Mon, 7 Apr 2025 14:43:39 +0100 X-Gm-Features: ATxdqUFd9OxtGLgOIJJHQovJ0o1ZAE69h2rpyjKa_2-Y6Ii_XoajJY3xsF5_51c Message-ID: <CAOnWdojXQF6HwXfF8prLKuV3Y-VdpghUsFR8HMxENaJo0AKUtw@HIDDEN> Subject: How to add multiple functions to one hook with :hook in use-package? To: bug-emacs <bug-emacs@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000002ccae80632306d82" Received-SPF: pass client-ip=2607:f8b0:4864:20::1134; envelope-from=rrt@HIDDEN; helo=mail-yw1-x1134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) --0000000000002ccae80632306d82 Content-Type: text/plain; charset="UTF-8" The manual says: The @code{:hook} keyword allows adding functions to hooks. It takes @c FIXME: The actual forms accepted by :hook are different, see below! one argument of the form @var{hooks}, specifying one or more functions to add to one or more hooks. The FIXME suggests that the documentation may be incorrect! I am precisely trying to add multiple functions to one hook, and I can't work out how to do it with a single :hook clause. Is this in fact possible? The most obvious syntax, copying the syntax for adding a function to multiple hooks, does not work, e.g.: (use-package foo-mode :hook (foo-mode . (function-a function-b))) I tried other things, and searching online, and even looking at the source code for use-package, but I can't work it out. Hence, maybe a good chance to fix this FIXME in the docs, and explain to users how this is done, or state that it cannot be done, and you have to use another method to add multiple functions to a hook. I have to say, use-package (which I have only now looked at) is a revelation! -- https://rrt.sc3d.org --0000000000002ccae80632306d82 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div style=3D"font-family:arial,helvetica,sans-serif;= font-size:small" class=3D"gmail_default">The manual says:</div><div style= =3D"font-family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_= default"><br></div><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-lef= t:1px solid rgb(204,204,204);padding-left:1ex" class=3D"gmail_default gmail= _quote">The @code{:hook} keyword allows adding functions to hooks.=C2=A0 It= takes<br>@c FIXME: The actual forms accepted by :hook are different, see b= elow!<br>one argument of the form @var{hooks}, specifying one or more funct= ions<br>to add to one or more hooks. </blockquote><br clear=3D"all"></div><= div><div style=3D"font-family:arial,helvetica,sans-serif;font-size:small" c= lass=3D"gmail_default">The FIXME suggests that the documentation may be inc= orrect!</div><div style=3D"font-family:arial,helvetica,sans-serif;font-size= :small" class=3D"gmail_default"><br></div><div style=3D"font-family:arial,h= elvetica,sans-serif;font-size:small" class=3D"gmail_default">I am precisely= trying to add multiple functions to one hook, and I can't work out how= to do it with a single :hook clause. Is this in fact possible? The most ob= vious syntax, copying the syntax for adding a function to multiple hooks, d= oes not work, e.g.:</div><div style=3D"font-family:arial,helvetica,sans-ser= if;font-size:small" class=3D"gmail_default"><br></div><div style=3D"font-fa= mily:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default">(u= se-package foo-mode</div><div style=3D"font-family:arial,helvetica,sans-ser= if;font-size:small" class=3D"gmail_default">=C2=A0 :hook</div><div style=3D= "font-family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_def= ault">=C2=A0 (foo-mode . (function-a function-b)))<br></div></div><div><br>= </div><div><div style=3D"font-family:arial,helvetica,sans-serif;font-size:s= mall" class=3D"gmail_default">I tried other things, and searching online, a= nd even looking at the source code for use-package, but I can't work it= out. Hence, maybe a good chance to fix this FIXME in the docs, and explain= to users how this is done, or state that it cannot be done, and you have t= o use another method to add multiple functions to a hook.</div><div style= =3D"font-family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_= default"><br></div><div style=3D"font-family:arial,helvetica,sans-serif;fon= t-size:small" class=3D"gmail_default">I have to say, use-package (which I h= ave only now looked at) is a revelation!<br></div></div><div><br></div><spa= n class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"= gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><= div dir=3D"ltr"><a href=3D"https://rrt.sc3d.org" target=3D"_blank">https://= rrt.sc3d.org</a></div></div></div></div></div> --0000000000002ccae80632306d82--
Reuben Thomas <rrt@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#77609
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.