Replace functions invoked from isearch-mode