diff options
author | William Xu <william.xwl@gmail.com> | 2008-04-15 06:39:00 +0000 |
---|---|---|
committer | William Xu <william.xwl@gmail.com> | 2008-04-15 06:39:00 +0000 |
commit | e2ec2bc4735bc7224e2a1316388e3ad76be6e129 (patch) | |
tree | 3acf5838453d03ae35f2b7f4e300696ae05a8746 | |
parent | d876bd1443c85f10f6da318f19e9619d04204ea7 (diff) |
(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
-rw-r--r-- | emms-playlist-mode.el | 2 |
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) |