Commit 9e09c38036f9

Vincent Demeester <vincent@sbr.pm>
2015-05-28 16:21:31
Add ediff customizations
1 parent c7e87e2
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -1575,6 +1575,16 @@
                                  (whitespace-mode 1)))
    #+END_SRC
 
+   Setup ediff so that it does not open a new frame (it is a pain in a
+   tiling window manager).
+
+   #+BEGIN_SRC emacs-lisp
+     (setq ediff-window-setup-function 'ediff-setup-windows-plain)
+     (csetq ediff-split-window-function 'split-window-horizontally)
+     (add-hook 'ediff-after-quit-hook-internal 'winner-undo)
+   #+END_SRC
+
+
 ** Terminal
 
    Let's install and use [[http://www.emacswiki.org/emacs/MultiTerm][multi-term]], which is a cool addition to =term.el=.