Use quit-window instead of magit-quit.
Thanks to Phil Hagelberg!
This commit is contained in:
parent
022463442b
commit
e54ab875e3
1 changed files with 1 additions and 6 deletions
7
magit.el
7
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))
|
||||
|
|
Loading…
Reference in a new issue