Enable 'package-autosuggest-mode' by default

* lisp/emacs-lisp/package.el (package-autosuggest-mode): Set
:init-value.
This commit is contained in:
Philip Kaludercic 2026-02-01 16:14:24 +01:00
parent a234b90048
commit 24f45c85ea
No known key found for this signature in database

View file

@ -4548,7 +4548,7 @@ the existence of a suggestion."
;;;###autoload
(define-minor-mode package-autosuggest-mode
"Enable the automatic suggestion and installation of packages."
:global t
:global t :init-value t
(funcall (if package-autosuggest-mode #'add-hook #'remove-hook)
'after-change-major-mode-hook
#'package--autosuggest-after-change-mode))