mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 02:40:49 +02:00
commit bash-20110311 snapshot
This commit is contained in:
+11
@@ -161,6 +161,8 @@ static int set_saved_history __P((void));
|
||||
static int posix_edit_macros __P((int, int));
|
||||
#endif
|
||||
|
||||
static int bash_event_hook __P((void));
|
||||
|
||||
#if defined (PROGRAMMABLE_COMPLETION)
|
||||
static int find_cmd_start __P((int));
|
||||
static int find_cmd_end __P((int));
|
||||
@@ -535,6 +537,8 @@ initialize_readline ()
|
||||
rl_filename_dequoting_function = bash_dequote_filename;
|
||||
rl_char_is_quoted_p = char_is_quoted;
|
||||
|
||||
rl_event_hook = bash_event_hook;
|
||||
|
||||
#if 0
|
||||
/* This is superfluous and makes it impossible to use tab completion in
|
||||
vi mode even when explicitly binding it in ~/.inputrc. sv_strict_posix()
|
||||
@@ -3701,4 +3705,11 @@ bash_dequote_text (text)
|
||||
dtxt = bash_dequote_filename ((char *)text, qc);
|
||||
return (dtxt);
|
||||
}
|
||||
|
||||
static int
|
||||
bash_event_hook ()
|
||||
{
|
||||
CHECK_TERMSIG;
|
||||
}
|
||||
|
||||
#endif /* READLINE */
|
||||
|
||||
Reference in New Issue
Block a user