diff options
Diffstat (limited to 'doc_src/emit.txt')
-rw-r--r-- | doc_src/emit.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc_src/emit.txt b/doc_src/emit.txt index d8f17b45..df154c5d 100644 --- a/doc_src/emit.txt +++ b/doc_src/emit.txt @@ -9,10 +9,10 @@ emit EVENT_NAME [ARGUMENTS...] `emit` emits, or fires, an event. Events are delivered to, or caught by, special functions called event handlers. The arguments are passed to the event handlers as function arguments. + \subsection emit-example Example -The following code first defines an event handler for the generic -event named 'test_event', and then emits an event of that type. +The following code first defines an event handler for the generic event named 'test_event', and then emits an event of that type. \fish function event_test --on-event test_event |