readline only handles SIGWINCH
* acinclude.m4 (GUILE_READLINE): Check for rl_catch_signals and rl_catch_sigwinch. * guile-readline/readline.c (scm_init_readline): If we can, turn off readline's signal handling, because we can do our own. (scm_readline): Use dynwinds to handle resetting readline's state on nonlocal exit, not catches. (unwind_readline): Rename from handle_error.
This commit is contained in:
parent
adb825b678
commit
ddfb5e2bb0
2 changed files with 23 additions and 9 deletions
|
|
@ -395,6 +395,9 @@ AC_DEFUN([GUILE_READLINE], [
|
|||
|
||||
dnl Check for modern readline naming
|
||||
AC_CHECK_FUNCS([rl_filename_completion_function])
|
||||
AC_CHECK_DECLS([rl_catch_signals, rl_catch_sigwinch], [], [],
|
||||
[[#include <stdio.h>]
|
||||
[#include <readline/readline.h>]])
|
||||
|
||||
dnl Check for rl_get_keymap. We only use this for deciding whether to
|
||||
dnl install paren matching on the Guile command line (when using
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue