Combine readline/libedit and other use_with statements.