diff options
author | Yuchen Pei <id@ypei.org> | 2023-07-05 20:43:34 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-07-05 20:43:34 +1000 |
commit | 4d9ddb8269bbae9ee52d17b5d2ca30745220fe25 (patch) | |
tree | ae2fd7d47ac9557e669049adcb5186ccc2a73821 /emacs/.emacs.d/init/ycp-vc.el | |
parent | 37805ccd2a94a57e86a0dc26a703736f881c66e4 (diff) |
some minor changes
Diffstat (limited to 'emacs/.emacs.d/init/ycp-vc.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-vc.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-vc.el b/emacs/.emacs.d/init/ycp-vc.el index 57de6f1..4513d45 100644 --- a/emacs/.emacs.d/init/ycp-vc.el +++ b/emacs/.emacs.d/init/ycp-vc.el @@ -71,6 +71,7 @@ (setq ediff-make-buffers-readonly-at-startup nil) (setq ediff-show-clashes-only t) (setq ediff-split-window-function 'split-window-horizontally) + (add-hook 'ediff-before-setup-hook 'my-select-new-frame) (setq ediff-combination-pattern '("<<<<<<< A: HEAD" A "||||||| Ancestor" Ancestor @@ -119,6 +120,9 @@ (require 'magit-repos) (my-setq-from-local magit-repository-directories) (put 'magit-clean 'disabled nil) + + (require 'magit-ediff) + (add-hook 'magit-ediff-quit-hook 'delete-frame) ) (my-package my-magit |