mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
; Reset :initialize for 'package-autosuggest-mode'
* lisp/emacs-lisp/package-activate.el (package-autosuggest-mode): We don't need a special initializer for the minor mode, if we are not enabling the option OOTB.
This commit is contained in:
parent
92f1d0b5d5
commit
02af0e93a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue