aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
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