aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-02 13:55:59 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-02 13:55:59 +0200
commitf3695b95fc95fa53dee2a7ce41a171215ea75d5b (patch)
tree85f422a7c3ac910f7488d6ae4d59c216b980d7a9 /doc_src
parent32a3e15309a0f4296db49261163c575a6468b2c8 (diff)
Use $VISUAL before $EDITOR in funced
Closes #2268
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/funced.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_src/funced.txt b/doc_src/funced.txt
index 143efba4..d1cf45a7 100644
--- a/doc_src/funced.txt
+++ b/doc_src/funced.txt
@@ -9,7 +9,7 @@ funced [OPTIONS] NAME
`funced` provides an interface to edit the definition of the function `NAME`.
-If the `$EDITOR` environment variable is set, it will be used as the program to edit the function. Otherwise, a built-in editor will be used.
+If the `$VISUAL` environment variable is set, it will be used as the program to edit the function. If `$VISUAL` is unset but `$EDITOR` is set, that will be used. Otherwise, a built-in editor will be used.
If there is no function called `NAME` a new function will be created with the specified name