[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 6/6] define-meta-command: mention effects of a missing categor
From: |
Rob Browning |
Subject: |
[PATCH v2 6/6] define-meta-command: mention effects of a missing category |
Date: |
Wed, 3 Jul 2024 12:02:15 -0500 |
module/system/repl/command.scm: add comment.
---
module/system/repl/command.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/module/system/repl/command.scm b/module/system/repl/command.scm
index ca7450610..8b0422dbd 100644
--- a/module/system/repl/command.scm
+++ b/module/system/repl/command.scm
@@ -235,6 +235,8 @@
(define-meta-command ((name category) repl () . datums)
docstring b0 b1 ...))
+ ;; These cases (with category #f) will only produce functional
+ ;; commands if the name is already in the *command-table*.
((_ (name repl (expression0 ...) . datums) docstring b0 b1 ...)
(define-meta-command ((name #f) repl (expression0 ...) . datums)
docstring b0 b1 ...))
--
2.43.0
- [PATCH v2 0/6] A handful of post 3.0.10 fixups, Rob Browning, 2024/07/03
- [PATCH v2 2/6] Ensure tests have guile-procedures.txt, Rob Browning, 2024/07/03
- [PATCH v2 6/6] define-meta-command: mention effects of a missing category,
Rob Browning <=
- [PATCH v2 1/6] Ensure GUILE-VERSION changes propagate to .version and Makefiles, Rob Browning, 2024/07/03
- [PATCH v2 4/6] scm_i_utf8_string_hash: don't overrun when len is zero, Rob Browning, 2024/07/03
- [PATCH v2 3/6] test-hashing: support 32-bit, Rob Browning, 2024/07/03
- [PATCH v2 5/6] scm_i_utf8_string_hash: optimize ASCII, Rob Browning, 2024/07/03