From 9e34fc04c31fa00f97a889be2d41fb43d44deeb0 Mon Sep 17 00:00:00 2001 From: Einhard Leichtfuß Date: Thu, 10 Jan 2019 08:17:52 +0100 Subject: Honor $VISUAL It does now take precedence over $EDITOR when editing files. You probably do not want to edit contact entries with ed. --- ctct.1.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ctct.1.in') 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 -- cgit v1.2.3