Variable: use-package-hook-name-suffix

use-package-hook-name-suffix is a customizable variable defined in use-package-core.el.gz.

Value

"-hook"

Documentation

Text append to the name of hooks mentioned by :hook.

Set to nil if you don't want this to happen; it's only a convenience.

This variable was added, or its default value changed, in Emacs 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/use-package/use-package-core.el.gz
(defcustom use-package-hook-name-suffix "-hook"
  "Text append to the name of hooks mentioned by :hook.
Set to nil if you don't want this to happen; it's only a
convenience."
  :type '(choice string (const :tag "No suffix" nil))
  :group 'use-package
  :version "29.1")