aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/emit.txt
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2007-09-09 08:24:53 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2007-09-09 08:24:53 +1000
commit151943f89e36103dd3802764a2fa895eb7bf5c77 (patch)
treed511d18275742a3bd2149ae23d6232331c4b1c67 /doc_src/emit.txt
parentad02bb9b4871bc053e36a01d603a592984ae1364 (diff)
Indentation, typo and formating fixes. Very minor patch.
darcs-hash:20070908222453-75c98-2236d962f0c9016820063e871fbbeaa42f36ef22.gz
Diffstat (limited to 'doc_src/emit.txt')
-rw-r--r--doc_src/emit.txt10
1 files changed, 3 insertions, 7 deletions
diff --git a/doc_src/emit.txt b/doc_src/emit.txt
index 23143999..78d36917 100644
--- a/doc_src/emit.txt
+++ b/doc_src/emit.txt
@@ -9,15 +9,11 @@ The emit builtin fires a generic fish event. Such events can be caught by specia
\subsection emit-example Example
-The following code first defines an event handler for the generig
+The following code first defines an event handler for the generic
event named 'test_event', and then emits an event of that type.
-<pre>
-function event_test --on-event test_event
+<pre>function event_test --on-event test_event
echo event test!!!
end
-emit test_event
-
-</pre>
-
+emit test_event</pre> \ No newline at end of file