diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-02-06 10:29:30 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-02-06 10:29:30 +0000 |
commit | 809ab19dff75185a805b4cbb31a6b89f225167f4 (patch) | |
tree | 73cd64425d28a97187c5d1830a55609440d65df3 /Src/Zle | |
parent | 590a26709a67abf13eeec66f161b0ec085637459 (diff) | |
download | zsh-809ab19dff75185a805b4cbb31a6b89f225167f4.tar.gz zsh-809ab19dff75185a805b4cbb31a6b89f225167f4.tar.xz zsh-809ab19dff75185a805b4cbb31a6b89f225167f4.zip |
18191: from Greg Klanderman: compctl -y didn't respect list arrangement
options listpacked and listrowsfirst.
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/compresult.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 218afc319..bc6cc36b2 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -1408,6 +1408,13 @@ calclist(int showall) g->flags |= CGF_PACKED | CGF_ROWS; if (!onlyexpl && pp) { + if (*pp) { + if (!isset(LISTPACKED)) + g->flags &= ~CGF_PACKED; + if (!isset(LISTROWSFIRST)) + g->flags &= ~CGF_ROWS; + } + /* We have an ylist, lets see, if it contains newlines. */ hidden = 1; while (!nl && *pp) { |