Closed ensc closed 1 year ago
With
(use-package some-lib :defer 1 :hook ((other-mode . 'some-lib/conf-fn))) (message "hook: %s" other-mode-hook)
I got with use-package-20210207.1926
"hook: (some-lib)"
But now with use-package-20220910.25, it is
"hook: (some-lib-mode)"
This breaks existing configurations when some-lib does not define -mode function.
some-lib
-mode
Why are you using a quote here? Does the following not work for you?
(use-package some-lib :defer 1 :hook (other-mode . conf-fn))
without quoting it works; thx
With
I got with use-package-20210207.1926
But now with use-package-20220910.25, it is
This breaks existing configurations when
some-lib
does not define-mode
function.