aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-playlist-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emms-playlist-mode.el b/emms-playlist-mode.el
index abdbfd0..f451712 100644
--- a/emms-playlist-mode.el
+++ b/emms-playlist-mode.el
@@ -536,7 +536,7 @@ Default value for WINDOW-WIDTH is `emms-playlist-mode-window-width'.
WINDOW-WIDTH should be a positive integer."
(interactive)
(setq emms-playlist-mode-window-width
- (or window-width emms-playlist-mode-window-width))
+ (round (or window-width emms-playlist-mode-window-width)))
(split-window-horizontally (- emms-playlist-mode-window-width))
(other-window 1)
(emms-playlist-mode-go)