summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLorenzo Tabacchini <lortabac@gmx.com>2014-06-08 10:54:39 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2014-06-13 08:01:26 -0700
commitce19d5079ea85d3190e837a1fc60000fbd82134d (patch)
treee3eb58a107197de2fb6db9c919265e519976c451 /docs
parent632fcf1f90b65201500250d5d13617ba778e310a (diff)
downloadhaskell-ce19d5079ea85d3190e837a1fc60000fbd82134d.tar.gz
Fixes #95 :edit command should jump to the last error
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/ghci.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml
index 912ecb25ce..50b59e9e25 100644
--- a/docs/users_guide/ghci.xml
+++ b/docs/users_guide/ghci.xml
@@ -2432,7 +2432,9 @@ Prelude> :. cmds.ghci
<listitem>
<para>Opens an editor to edit the file
<replaceable>file</replaceable>, or the most recently loaded
- module if <replaceable>file</replaceable> is omitted. The
+ module if <replaceable>file</replaceable> is omitted.
+ If there were errors during the last loading,
+ the cursor will be positioned at the line of the first error. The
editor to invoke is taken from the <literal>EDITOR</literal>
environment variable, or a default editor on your system if
<literal>EDITOR</literal> is not set. You can change the