* magit.el (magit-quit-window): Fix Issue #825, reset
  magit-previous-window-configuration and not
  magit-restore-window-configuration.