Commits

Anonymous committed 3ac1d38

Added ediff setup

Comments (0)

Files changed (1)

files/golden-ratio.el

   (golden-ratio-disable)
   ad-do-it
   (golden-ratio-enable))
+
+(defadvice ediff-quit (after golden-ratio-enable activate)
+  (golden-ratio-enable))
+
+(defadvice ediff-buffers (after golden-ratio-disable activate)
+  (golden-ratio-disable)
+  (balance-windows)
+  (enlarge-window -10)
+  (balance-windows)
+  (execute-kbd-macro "?")
+  (execute-kbd-macro "|"))