add savehist-mode