[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] edit: Friendlier error message.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] edit: Friendlier error message. |
Date: |
Sat, 07 Nov 2015 12:06:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Andreas Enge <address@hidden> skribis:
> On Thu, Nov 05, 2015 at 12:08:35PM +0100, Ludovic Courtès wrote:
>> > + (unless (search-path (parse-path (getenv "PATH")) (%editor))
>> > + (leave (_ "Couldn't find editor '~a'. Please check $EDITOR and
>> > $PATH.")
>> > + (%editor)))
>
> An additional, heterodox suggestion: Maybe also test for $VISUAL.
AIUI, $VISUAL is for visualizing files, not for editing, no?
Ludo’.