temporarily bind `print-length' to nil before `pp'

This is needed to prevent `pp' from abbreviating the output while printing the
completion history.