aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Kaludercic2026-02-11 20:44:20 +0100
committerPhilip Kaludercic2026-02-11 20:44:20 +0100
commit5bc7185afa4538853df5ea2a1dcd85d079d075ef (patch)
tree31d68921afc04f91ac19a5b5d77e45c562715c40
parentae5ee77f488c8387ed66d946f2a5eff295ed6af1 (diff)
downloademacs-5bc7185afa4538853df5ea2a1dcd85d079d075ef.tar.gz
emacs-5bc7185afa4538853df5ea2a1dcd85d079d075ef.zip
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.
-rw-r--r--lisp/emacs-lisp/package-activate.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package-activate.el b/lisp/emacs-lisp/package-activate.el
index 24d168c5d05..7981642a7e0 100644
--- a/lisp/emacs-lisp/package-activate.el
+++ b/lisp/emacs-lisp/package-activate.el
@@ -677,7 +677,7 @@ This function should be added to `after-change-major-mode-hook'."
677;;;###autoload 677;;;###autoload
678(define-minor-mode package-autosuggest-mode 678(define-minor-mode package-autosuggest-mode
679 "Enable the automatic suggestion and installation of packages." 679 "Enable the automatic suggestion and installation of packages."
680 :global t :init-value t :group 'package 680 :global t :group 'package
681 :initialize #'custom-initialize-delay 681 :initialize #'custom-initialize-delay
682 (funcall (if package-autosuggest-mode #'add-hook #'remove-hook) 682 (funcall (if package-autosuggest-mode #'add-hook #'remove-hook)
683 'after-change-major-mode-hook 683 'after-change-major-mode-hook