diff options
Diffstat (limited to 'Src')
-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) { |