mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Enable 'package-autosuggest-mode' by default
* lisp/emacs-lisp/package.el (package-autosuggest-mode): Set :init-value.
This commit is contained in:
parent
a234b90048
commit
24f45c85ea
1 changed files with 1 additions and 1 deletions
|
|
@ -4548,7 +4548,7 @@ the existence of a suggestion."
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(define-minor-mode package-autosuggest-mode
|
(define-minor-mode package-autosuggest-mode
|
||||||
"Enable the automatic suggestion and installation of packages."
|
"Enable the automatic suggestion and installation of packages."
|
||||||
:global t
|
:global t :init-value t
|
||||||
(funcall (if package-autosuggest-mode #'add-hook #'remove-hook)
|
(funcall (if package-autosuggest-mode #'add-hook #'remove-hook)
|
||||||
'after-change-major-mode-hook
|
'after-change-major-mode-hook
|
||||||
#'package--autosuggest-after-change-mode))
|
#'package--autosuggest-after-change-mode))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue