Skip to content

Commit

Permalink
Revert "Auto detect mode suffix in hook keyword"
Browse files Browse the repository at this point in the history
This reverts commit 8bad61f.
  • Loading branch information
jwiegley committed Apr 14, 2023
1 parent 77945e0 commit cba23de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions use-package-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -1305,10 +1305,7 @@ meaning:
(setq every nil)))
every))))
#'use-package-recognize-function
(if (string-suffix-p "-mode" (symbol-name name))
name
(intern (concat (symbol-name name) "-mode")))
label arg))))
name label arg))))

(defalias 'use-package-autoloads/:hook 'use-package-autoloads-mode)

Expand Down

0 comments on commit cba23de

Please sign in to comment.