Fix handling of hook variables in 'use-package'
authorJohn Wiegley <johnw@gnu.org>
Mon, 26 Aug 2024 18:47:25 +0000 (11:47 -0700)
committerEli Zaretskii <eliz@gnu.org>
Sat, 31 Aug 2024 10:06:16 +0000 (13:06 +0300)
commit4f521fa14c18f57e5207bffd68e9f79454dccc79
treed91936847dec1a6d05b9397985bdf3d9ca719714
parentbb5576fc9071590143af2106111d95ca2221a20c
Fix handling of hook variables in 'use-package'

* lisp/use-package/use-package-core.el
(use-package-handler/:hook): Append "-hook" to the symbol's name
only if the named hook variable has no 'symbol-value'.
(Bug#72818)
lisp/use-package/use-package-core.el