Subject: bug#77609: How to add multiple functions to one hook with :hook in use-package?

From: John Wiegley <[email-masked]>
Date: Wed, 21 May 2025 23:20:32 -0700

>>>>> Eli Zaretskii <[email-masked]> writes:

> Ping! How can we make any further progress here?

So, I dug into ‘use-package-normalize/:hook’ to see how hard it would be and…
it’s unreasonably hard. Accepting a list of functions in this way is just not
something the code was designed to do in its current form.

So rather than risk breaking lots of things, I think the user just has to
expand:

  :hook (foo a b)
  :hook (foo . (a b))

into

  :hook
  (foo . a)
  (foo . b)

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2