From f4428b7fb0a134ac97dec965c97207318f2dbda9 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 30 Jan 2014 13:19:20 -0500 Subject: Widen after cloning an indirect buffer --- lisp/init-framewin.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lisp/init-framewin.el') diff --git a/lisp/init-framewin.el b/lisp/init-framewin.el index cbcce94..29cc620 100644 --- a/lisp/init-framewin.el +++ b/lisp/init-framewin.el @@ -34,4 +34,9 @@ Assumes that the frame is only split into two." (global-set-key (kbd "C-c s") 'km/swap-windows) +(defadvice clone-indirect-buffer-other-window + (after clone-indirect-and-widen activate) + "Widen after cloning an indirect buffer." + (widen)) + (provide 'init-framewin) -- cgit v1.2.3