We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 310b264 commit 1593a30Copy full SHA for 1593a30
1 file changed
README.org
@@ -368,18 +368,16 @@ from: https://github.com/doomemacs/doomemacs/blob/master/lisp/doom-start.el
368
(require 'use-package)
369
(push :ban use-package-keywords)
370
371
- (defun use-package-normalize/:ban (_name _keyword _arg)
372
- "Do nothing, return nil.")
+ (defalias 'use-package-normalize/:ban 'use-package-normalize-test)
373
374
- (defun use-package-handler/:ban (name _keyword _arg rest state)
375
- (use-package-process-keywords name rest state))
+ (defalias 'use-package-handler/:ban 'use-package-handler/:unless)
376
#+end_src
377
378
** 启动速度测试
379
380
#+begin_src elisp
381
(use-package benchmark-init
382
- :ban debug?
+ :ban not-debug?
383
:straight t
384
:demand t
385
:hook (after-init . benchmark-init/deactivate)
0 commit comments