From e54ab875e3549fd051c80656c2029195662b4c7d Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Thu, 21 Aug 2008 00:29:50 +0300 Subject: [PATCH] Use quit-window instead of magit-quit. Thanks to Phil Hagelberg! --- magit.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/magit.el b/magit.el index 7e385829..6e11589d 100644 --- a/magit.el +++ b/magit.el @@ -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))