Disable 'package-autosuggest-mode' by default

* lisp/emacs-lisp/package-activate.el (package-autosuggest-mode):
Do not set the :init-value when declaring the minor mode.
This commit is contained in:
Philip Kaludercic 2026-02-11 20:44:20 +01:00
parent ae5ee77f48
commit 5bc7185afa
No known key found for this signature in database

View file

@ -677,7 +677,7 @@ This function should be added to `after-change-major-mode-hook'."
;;;###autoload
(define-minor-mode package-autosuggest-mode
"Enable the automatic suggestion and installation of packages."
:global t :init-value t :group 'package
:global t :group 'package
:initialize #'custom-initialize-delay
(funcall (if package-autosuggest-mode #'add-hook #'remove-hook)
'after-change-major-mode-hook