diff options
author | Mark Griffiths <mark@thebespokepixel.com> | 2014-08-19 13:41:23 +0100 |
---|---|---|
committer | Mark Griffiths <mark@thebespokepixel.com> | 2014-09-03 14:43:26 +0100 |
commit | 137abd0cfaa8959224f88a4ebe9584a51468cc88 (patch) | |
tree | c396f760a1e309b5a837359e65c57c4555534d49 /doc_src/block.txt | |
parent | d7308fecbe573aad91fc6f1377c1ed2df735f6fd (diff) |
Make line length, wrapping and spacing consistent
Diffstat (limited to 'doc_src/block.txt')
-rw-r--r-- | doc_src/block.txt | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/doc_src/block.txt b/doc_src/block.txt index f3f741f1..37b2de0c 100644 --- a/doc_src/block.txt +++ b/doc_src/block.txt @@ -7,26 +7,23 @@ block [OPTIONS...] \subsection block-description Description -`block` prevents events triggered by `fish` or the -<a href="commands.html#emit">`emit`</a> command from -being delivered and acted upon while the block is in place. +`block` prevents events triggered by `fish` or the <a href="commands.html#emit">`emit`</a> command from being delivered and acted upon while the block is in place. -In functions, `block` can be useful while performing work that -should not be interrupted by the shell. +In functions, `block` can be useful while performing work that should not be interrupted by the shell. -The block can be removed. Any events which triggered while the -block was in place will then be delivered. +The block can be removed. Any events which triggered while the block was in place will then be delivered. -Event blocks should not be confused with code blocks, which are created -with `begin`, `if`, `while` or -`for` +Event blocks should not be confused with code blocks, which are created with `begin`, `if`, `while` or `for` The following parameters are available: - `-l` or `--local` Release the block automatically at the end of the current innermost code block scope + - `-g` or `--global` Never automatically release the lock + - `-e` or `--erase` Release global block + \subsection block-example Example \fish |