dect
/
asterisk
Archived
13
0
Fork 0

Respect "AST_EDITOR" rather than "EDITOR" so as not to change the default bindings from emacs to vi (bug #2185)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3547 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2004-07-31 02:23:27 +00:00
parent 61791ff23d
commit db1f27983c
1 changed files with 1 additions and 1 deletions

View File

@ -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);