aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eb.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/eb.el b/eb.el
index e3075dd..5233c9c 100644
--- a/eb.el
+++ b/eb.el
@@ -69,7 +69,10 @@
,open
(eb--fleeting-minor-mode)
(setq eb--fleeting--direction ',dir))
- (run-with-idle-timer 0 nil (lambda (window) (fit-window-to-buffer window)) window)
+ (run-with-idle-timer 0 nil (lambda (window)
+ (let ((fit-window-to-buffer-horizontally t))
+ (fit-window-to-buffer window)))
+ window)
window)))))
(defvar eb--fleeting--buffer nil)