[Asterisk-cvs] asterisk asterisk.c,1.108,1.109

markster at lists.digium.com markster at lists.digium.com
Fri Jul 30 22:37:24 CDT 2004


Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv3199

Modified Files:
	asterisk.c 
Log Message:
Respect "AST_EDITOR" rather than "EDITOR" so as not to change the default bindings from emacs to vi (bug #2185)


Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -d -r1.108 -r1.109
--- asterisk.c	30 Jul 2004 18:30:48 -0000	1.108
+++ asterisk.c	31 Jul 2004 02:23:27 -0000	1.109
@@ -1262,7 +1262,7 @@
 static int ast_el_initialize(void)
 {
 	HistEvent ev;
-	char *editor = getenv("EDITOR");
+	char *editor = getenv("AST_EDITOR");
 
 	if (el != NULL)
 		el_end(el);




More information about the svn-commits mailing list