Skip to content

Commit

Permalink
fix(bootstrap): do store disabled packages with configured ones
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 16, 2023
1 parent 1cca61c commit 04650b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/me-bootstrap.el
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
(advice-add
'use-package :around
(defun +use-package--check-if-disabled-a (origfn package &rest args)
(add-to-list 'minemacs-configured-packages package t)
(unless (memq package minemacs-disabled-packages)
(add-to-list 'minemacs-configured-packages package t)
(apply origfn package args))))

;; The previous advice will be removed after loading MinEmacs packages to avoid
Expand Down

0 comments on commit 04650b1

Please sign in to comment.