mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-02 16:28:14 +02:00
commit bash-20110513 snapshot
This commit is contained in:
+13
-2
@@ -540,8 +540,6 @@ 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()
|
||||
@@ -560,6 +558,18 @@ bashline_reinitialize ()
|
||||
bash_readline_initialized = 0;
|
||||
}
|
||||
|
||||
void
|
||||
bashline_set_event_hook ()
|
||||
{
|
||||
rl_event_hook = bash_event_hook;
|
||||
}
|
||||
|
||||
void
|
||||
bashline_reset_event_hook ()
|
||||
{
|
||||
rl_event_hook = 0;
|
||||
}
|
||||
|
||||
/* On Sun systems at least, rl_attempted_completion_function can end up
|
||||
getting set to NULL, and rl_completion_entry_function set to do command
|
||||
word completion if Bash is interrupted while trying to complete a command
|
||||
@@ -3743,6 +3753,7 @@ bash_dequote_text (text)
|
||||
static int
|
||||
bash_event_hook ()
|
||||
{
|
||||
itrace("bash_event_hook");
|
||||
CHECK_TERMSIG;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user