# HG changeset patch # User jwe # Date 814074217 0 # Node ID b221bae7ca15a12dadca312223643e347a6a7d1c # Parent a8232861312c900988a62c22e5c464111bda20d3 [project @ 1995-10-19 03:43:37 by jwe] diff --git a/src/input.cc b/src/input.cc --- a/src/input.cc +++ b/src/input.cc @@ -947,6 +947,15 @@ rl_add_defun ("operate-and-get-next", (Function *) operate_and_get_next, CTRL ('O')); + + // And the history search functions. + + rl_add_defun ("history-search-backward", + (Function *) rl_history_search_backward, META ('p')); + + rl_add_defun ("history-search-forward", + (Function *) rl_history_search_forward, META ('n')); + // Don't treat single quotes as string delimiters when doing paren // matching.