diff options
author | Chet Ramey <chet.ramey@case.edu> | 2018-12-20 11:41:58 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2018-12-20 11:41:58 -0500 |
commit | f250956cb2a8dca13fc0242affc225f9d6983604 (patch) | |
tree | 2df8e15963af786dc8efed1c91c4d823a3bf05bb /lib/readline | |
parent | 2ae59c1134a75d5778997b7202b15b0586283042 (diff) | |
download | bash-5.0-testing.tar.gz |
bash-5.0-rc1 releasebash-5.0-rc1bash-5.0-testing
Diffstat (limited to 'lib/readline')
-rw-r--r-- | lib/readline/doc/rltech.texi | 17 | ||||
-rw-r--r-- | lib/readline/doc/version.texi | 6 |
2 files changed, 14 insertions, 9 deletions
diff --git a/lib/readline/doc/rltech.texi b/lib/readline/doc/rltech.texi index 3624ea3e..28a02d99 100644 --- a/lib/readline/doc/rltech.texi +++ b/lib/readline/doc/rltech.texi @@ -720,19 +720,22 @@ Return the name matching @var{keymap}. @var{name} is one which would be supplied in a @code{set keymap} inputrc line (@pxref{Readline Init File}). @end deftypefun -@deftypefun void rl_set_keymap (const char *name, Keymap keymap) +@deftypefun int rl_set_keymap_name (const char *name, Keymap keymap) Set the name of @var{keymap}. This name will then be "registered" and available for use in a @code{set keymap} inputrc directive @pxref{Readline Init File}). -The @var{name} may not be one of Readline's builtin names; +The @var{name} may not be one of Readline's builtin keymap names; you may not add a different name for one of Readline's builtin keymaps. -Readline will make a copy of @var{name}. You may replace the name associated with a given keymap by calling this -function two or more times with the same @var{keymap} argument. -You can associate a registered name with a new keymap by calling this -function two or more times with the same @var{name} argument. +function more than once with the same @var{keymap} argument. +You may associate a registered @var{name} with a new keymap by calling this +function more than once with the same @var{name} argument. There is no way to remove a named keymap once the name has been registered. +Readline will make a copy of @var{name}. +The return value is greater than zero unless @var{name} is one of +Readline's builtin keymap names or @var{keymap} is one of Readline's +builtin keymaps. @end deftypefun @node Binding Keys @@ -2143,6 +2146,8 @@ character (@samp{\0}) prevents anything being appended automatically. This can be changed in application-specific completion functions to provide the ``most sensible word separator character'' according to an application-specific command line syntax specification. +It is set to the default before any application-specific completion function +is called, and may only be changed within such a function. @end deftypevar @deftypevar int rl_completion_suppress_append diff --git a/lib/readline/doc/version.texi b/lib/readline/doc/version.texi index 7e08db61..576c35c8 100644 --- a/lib/readline/doc/version.texi +++ b/lib/readline/doc/version.texi @@ -4,7 +4,7 @@ Copyright (C) 1988-2018 Free Software Foundation, Inc. @set EDITION 8.0 @set VERSION 8.0 -@set UPDATED 18 September 2018 -@set UPDATED-MONTH September 2018 +@set UPDATED 30 November 2018 +@set UPDATED-MONTH November 2018 -@set LASTCHANGE Tue Sep 18 13:08:12 EDT 2018 +@set LASTCHANGE Fri Nov 30 22:50:53 EST 2018 |