Skip to content

Commit 1adbfeb

Browse files
committed
docs(use-package): add comment
1 parent 729f656 commit 1adbfeb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/me-use-package-extra.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
;; HACK: This advice around `use-package' checks if a package is disabled in
4040
;; `minemacs-disabled-packages' before calling `use-package'. This can come
4141
;; handy if the user wants to enable some module while excluding some packages
42-
;; from it.
42+
;; from it. This advice also evaluates `use-package's conditional sections
43+
;; (`:if', `:when' and `:unless') to prevent installing packages with
44+
;; `straight'.
4345
(advice-add
4446
'use-package :around
4547
(defun +use-package--check-if-disabled-a (origfn package &rest args)

0 commit comments

Comments
 (0)