# HG changeset patch # User Bram Moolenaar # Date 1353430510 -3600 # Node ID f4aa43d952f5bacc752951c80495fd20c72ba90c # Parent abf6c04625afe0b645845f22a18580b5cb4a415b updated for version 7.3.725 Problem: :aboveleft and :belowright have no effect on :copen. Solution: Check for cmdmod.split. (Christian Brabandt) diff --git a/src/quickfix.c b/src/quickfix.c --- a/src/quickfix.c +++ b/src/quickfix.c @@ -2347,8 +2347,10 @@ ex_copen(eap) /* The current window becomes the previous window afterwards. */ win = curwin; - if (eap->cmdidx == CMD_copen || eap->cmdidx == CMD_cwindow) - /* Create the new window at the very bottom. */ + if ((eap->cmdidx == CMD_copen || eap->cmdidx == CMD_cwindow) + && cmdmod.split == 0) + /* Create the new window at the very bottom, except when + * :belowright or :aboveleft is used. */ win_goto(lastwin); if (win_split(height, WSP_BELOW | WSP_NEWLOC) == FAIL) return; /* not enough room for window */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -726,6 +726,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 725, +/**/ 724, /**/ 723,