From e2ec2bc4735bc7224e2a1316388e3ad76be6e129 Mon Sep 17 00:00:00 2001 From: William Xu Date: Tue, 15 Apr 2008 06:39:00 +0000 Subject: (emms-playlist-mode-go-popup): `round' emms-playlist-mode-window-width to be an integer, so that split-window-horizontally won't complain even if user provides a floating point. darcs-hash:20080415063957-cfa61-c3b7269628cbf31c699c5650f61fc28d42fd0b3d.gz --- emms-playlist-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3