From 79a00a33f95eaf26fa600958e4be4d47c6463d55 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sat, 31 Jul 2004 02:23:27 +0000 Subject: Respect "AST_EDITOR" rather than "EDITOR" so as not to change the default bindings from emacs to vi (bug #2185) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3547 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- asterisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asterisk.c') diff --git a/asterisk.c b/asterisk.c index 94f7548dd..024d29092 100755 --- a/asterisk.c +++ b/asterisk.c @@ -1262,7 +1262,7 @@ static char *cli_complete(EditLine *el, int ch) static int ast_el_initialize(void) { HistEvent ev; - char *editor = getenv("EDITOR"); + char *editor = getenv("AST_EDITOR"); if (el != NULL) el_end(el); -- cgit v1.2.3