rltech.texi misses a comma (',').

--- doc/rltech.texi.org 2018-05-23 05:56:09.000000000 +0900
+++ doc/rltech.texi     2018-06-17 12:17:22.846721100 +0900
@@ -848,7 +848,7 @@
 it points to (one of @code{ISFUNC}, @code{ISKMAP}, or @code{ISMACR}).
 @end deftypefun

-@deftypefun {rl_command_func_t *} rl_function_of_keyseq_len (const char
*keyseq, size_t len Keymap map, int *type)
+@deftypefun {rl_command_func_t *} rl_function_of_keyseq_len (const char
*keyseq, size_t len, Keymap map, int *type)
 Return the function invoked by @var{keyseq} of length @var{len}
 in keymap @var{map}. Equivalent to @code{rl_function_of_keyseq} with the
 addition of the @var{len} parameter.

BTW this function is equivalent with _rl_function_of_keyseq_internal().
And it just saves a call of strlen(keyseq) comparing to
rl_function_of_keyseq().
Is it worth to be defined as a new public function?
-- 
Hiroo Hayashi
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to