aboutsummaryrefslogtreecommitdiff
path: root/ctct.1.in
diff options
context:
space:
mode:
authorEinhard Leichtfuß <alguien@respiranto.de>2019-01-10 08:17:52 +0100
committerEinhard Leichtfuß <alguien@respiranto.de>2019-01-10 08:17:52 +0100
commit9e34fc04c31fa00f97a889be2d41fb43d44deeb0 (patch)
tree5f4a59747a5f32b2d0dc397bc05c7915f8045537 /ctct.1.in
parent0f8ac72b86937513bf10c3ce21ac445724e9a13a (diff)
Honor $VISUAL
It does now take precedence over $EDITOR when editing files. You probably do not want to edit contact entries with ed.
Diffstat (limited to 'ctct.1.in')
-rw-r--r--ctct.1.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/ctct.1.in b/ctct.1.in
index 3ac3cb8..d8b51e7 100644
--- a/ctct.1.in
+++ b/ctct.1.in
@@ -194,9 +194,16 @@ An unexpected error occurred, for example due to missing permissions in
.\"
.SH ENVIROMENT
.TP
-.B EDITOR
+.B VISUAL
The editor to use when \fBctct\fP is called with the \fB\-\-edit\fP
option and \fBdefault_editor\fP is not set in \fBctct_config\fP(5)\.
+Supersedes $\fBEDITOR\fP, if set\.
+.\"
+.TP
+.B EDITOR
+The editor to use when \fBctct\fP is called with the \fB\-\-edit\fP
+option and neither \fBdefault_editor\fP is set in \fBctct_config\fP(5),
+nor the environment variable $\fBEDITOR\fP\.
.\"
.\"
.SH SEE ALSO