summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-framewin.el5
1 files changed, 5 insertions, 0 deletions
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)