[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-30 bfb1aee9989: Fix ':defer nil' in 'use-package'
From: |
Eli Zaretskii |
Subject: |
emacs-30 bfb1aee9989: Fix ':defer nil' in 'use-package' |
Date: |
Sun, 4 Aug 2024 04:53:11 -0400 (EDT) |
branch: emacs-30
commit bfb1aee99898d7704a64ee124217b9e9ca43d66d
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Fix ':defer nil' in 'use-package'
* lisp/use-package/use-package-core.el
(use-package-normalize-keywords): Use 'plist-get' instead of
'plist-member'. (Bug#72414)
---
lisp/use-package/use-package-core.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/use-package/use-package-core.el
b/lisp/use-package/use-package-core.el
index dd4efd3831d..8c3241d5ee0 100644
--- a/lisp/use-package/use-package-core.el
+++ b/lisp/use-package/use-package-core.el
@@ -726,9 +726,9 @@ extending any keys already present."
;; If at this point no :load, :defer or :no-require has been seen, then
;; :load the package itself.
- (when (and (not (plist-member args :load))
- (not (plist-member args :defer))
- (not (plist-member args :no-require)))
+ (when (and (not (plist-get args :load))
+ (not (plist-get args :defer))
+ (not (plist-get args :no-require)))
(setq args (append args `(:load (,name)))))
;; Sort the list of keywords based on the order of `use-package-keywords'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-30 bfb1aee9989: Fix ':defer nil' in 'use-package',
Eli Zaretskii <=