commit bash-20050217 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:43:32 -05:00
parent cc87ba64ee
commit 2206f89ab4
45 changed files with 2735 additions and 979 deletions
+1 -2
View File
@@ -533,8 +533,7 @@ main (argc, argv, env)
term = get_string_value ("TERM");
no_line_editing |= term && (STREQ (term, "emacs"));
emacs = get_string_value ("EMACS");
running_under_emacs = emacs ? ((strmatch ("*term*", emacs, 0) == 0) ? 2 : 1)
: 0;
running_under_emacs = emacs ? ((strstr (emacs, "term") != 0) ? 2 : 1) : 0;
#if 0
no_line_editing |= emacs && emacs[0] == 't' && emacs[1] == '\0';
#else