Enable savehist and undo-tree history saving.