Skip to content

Commit

Permalink
docs(use-package): add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 25, 2023
1 parent 729f656 commit 1adbfeb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/me-use-package-extra.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
;; HACK: This advice around `use-package' checks if a package is disabled in
;; `minemacs-disabled-packages' before calling `use-package'. This can come
;; handy if the user wants to enable some module while excluding some packages
;; from it.
;; from it. This advice also evaluates `use-package's conditional sections
;; (`:if', `:when' and `:unless') to prevent installing packages with
;; `straight'.
(advice-add
'use-package :around
(defun +use-package--check-if-disabled-a (origfn package &rest args)
Expand Down

0 comments on commit 1adbfeb

Please sign in to comment.