forked from colonelpanic/dotfiles
[Emacs] Use window in frames only mode for magit-diff on commit
This commit is contained in:
parent
c71bbd59a8
commit
90d30215ef
@ -1189,10 +1189,10 @@ programming mode.
|
|||||||
;; XXX: This was a failed attempt to get magit-commit to properly use
|
;; XXX: This was a failed attempt to get magit-commit to properly use
|
||||||
;; frames.
|
;; frames.
|
||||||
|
|
||||||
;; (".*magit-diff.*" . ((display-buffer-pop-up-frame)
|
(".*magit-diff.*" . ((display-buffer-pop-up-window)
|
||||||
;; ((reusable-frames . 0)
|
((reusable-frames . 0)
|
||||||
;; (inhibit-switch-frame . t)
|
(inhibit-switch-frame . t)
|
||||||
;; (inhibit-same-window . t))))
|
(inhibit-same-window . t))))
|
||||||
;; (".*COMMIT_.*MSG.*" . ((display-buffer-pop-up-frame)
|
;; (".*COMMIT_.*MSG.*" . ((display-buffer-pop-up-frame)
|
||||||
;; ((reusable-frames . 0)
|
;; ((reusable-frames . 0)
|
||||||
;; (inhibit-same-window . t))))
|
;; (inhibit-same-window . t))))
|
||||||
@ -2050,7 +2050,7 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
|
|||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(when (imalison:use-frames-only)
|
(when (imalison:use-frames-only)
|
||||||
(setq magit-commit-show-diff nil))
|
(setq magit-commit-show-diff t))
|
||||||
(unbind-key "C-j" magit-status-mode-map)
|
(unbind-key "C-j" magit-status-mode-map)
|
||||||
(unbind-key "C-j" magit-hunk-section-map)
|
(unbind-key "C-j" magit-hunk-section-map)
|
||||||
(unbind-key "C-j" magit-file-section-map)
|
(unbind-key "C-j" magit-file-section-map)
|
||||||
|
Loading…
Reference in New Issue
Block a user