Use quit-window instead of magit-quit.

Thanks to Phil Hagelberg!
This commit is contained in:
Marius Vollmer 2008-08-21 00:29:50 +03:00
parent 022463442b
commit e54ab875e3

View file

@ -452,7 +452,7 @@ Many Magit faces inherit from this one by default."
(define-key map (kbd "c") 'magit-log-edit)
(define-key map (kbd "C") 'magit-add-log)
(define-key map (kbd "$") 'magit-display-process)
(define-key map (kbd "q") 'magit-quit)
(define-key map (kbd "q") 'quit-window)
map))
(defvar magit-mode-hook nil)
@ -940,11 +940,6 @@ Please see the manual for a complete description of Magit.
"git" "log" "--max-count=1" "--cc" "-p"
commit)))))
(defun magit-quit ()
"Bury the current buffer."
(interactive)
(bury-buffer))
(defun magit-wash-log (status)
(goto-char (point-min))
(while (not (eobp))