Only set rl_completion_display_matches_hook if there
is a Python hook function. Fixes #1425.
1 file changed