Skip to content

Commit

Permalink
fix(use-package): fix the real cause of #119
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 25, 2023
1 parent f5f8474 commit 00345fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/me-use-package-extra.el
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
(defun +use-package--check-if-disabled-a (origfn package &rest args)
(when (and (not (+package-disabled-p package))
(or (not (memq :if args))
(and (memq :if args) (eval (plist-get args :if))))
(and (memq :if args) (eval (+varplist-get args :if t))))
(or (not (memq :when args))
(and (memq :when args) (eval (plist-get args :when))))
(and (memq :when args) (eval (+varplist-get args :when t))))
(or (not (memq :unless args))
(and (memq :unless args) (not (eval (plist-get args :unless))))))
(and (memq :unless args) (not (eval (+varplist-get args :unless t))))))
(add-to-list 'minemacs-configured-packages package t)
(apply origfn package args))))

Expand Down

0 comments on commit 00345fe

Please sign in to comment.