diff --git a/lisp/emacs-lisp/package-activate.el b/lisp/emacs-lisp/package-activate.el index 4a0a9b79fb5..1689d985c28 100644 --- a/lisp/emacs-lisp/package-activate.el +++ b/lisp/emacs-lisp/package-activate.el @@ -674,7 +674,7 @@ This function should be added to `after-change-major-mode-hook'." (define-minor-mode package-autosuggest-mode "Enable the automatic suggestion and installation of packages." :global t :group 'package - :initialize #'custom-initialize-delay + ;; :initialize #'custom-initialize-delay (funcall (if package-autosuggest-mode #'add-hook #'remove-hook) 'after-change-major-mode-hook #'package--autosuggest-after-change-mode))