[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks bind
From: |
Eli Zaretskii |
Subject: |
bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package |
Date: |
Tue, 03 Sep 2024 05:34:39 +0300 |
> Date: Mon, 02 Sep 2024 19:01:31 -0700
> From: Steven Allen via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
>
>
> In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, cairo version
> 1.18.0) of 2024-09-01 built on Laptop
> Repository revision: 92ea393a16e5c99a8860dab368c6ca3ca6abc3c5
> Repository branch: master
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101013
> System Description: Arch Linux
>
> To reproduce:
>
> (use-package foo
> :hook (eshell-mode . some-function))
>
> Previously, `use-package' always appended `-hook' to the hook variable name.
> After 4f521fa14c18f57e5207bffd68e9f79454dccc79, `use-package' only does
> so if the passed variable name isn't bound. Unfortunately, this breaks
> binding mode hooks, e.g.:
>
> :hook (some-mode . some-function)
>
> Because `some-mode' is usually bound.
John, any comments or suggestions?
- bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package, Steven Allen, 2024/09/02
- bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package,
Eli Zaretskii <=
- bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package, John Wiegley, 2024/09/03
- bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package, Eli Zaretskii, 2024/09/03
- bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package, John Wiegley, 2024/09/03
- bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package, Eli Zaretskii, 2024/09/04
- bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package, John Wiegley, 2024/09/04
- bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package, Eli Zaretskii, 2024/09/04