1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

define-meta-command: mention effects of a missing category

module/system/repl/command.scm: add comment.
This commit is contained in:
Rob Browning 2024-06-23 13:25:53 -05:00
parent 522f368719
commit d99ae68f88

View file

@ -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 ...))