diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 09:05:47 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 09:05:47 +0000 |
| commit | c05a2d20937b2fee0b54adcbdc76d134a8d3f7a9 (patch) | |
| tree | a0009a0d31505b1bac7f99d66b60b6f3f1325e18 /Src/Zle/compmatch.c | |
| parent | 13866: apt-get install pinning (diff) | |
| download | zsh-pre-func-move.tar zsh-pre-func-move.tar.gz zsh-pre-func-move.tar.bz2 zsh-pre-func-move.tar.lz zsh-pre-func-move.tar.xz zsh-pre-func-move.tar.zst zsh-pre-func-move.zip | |
make `_arguments -S' still complete long options after `--<TAB>'; fix for cursor positioning with partial word match specs (13868)pre-func-move
Diffstat (limited to 'Src/Zle/compmatch.c')
| -rw-r--r-- | Src/Zle/compmatch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index e9c6721ba..fc1e6fb54 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -2076,7 +2076,8 @@ join_clines(Cline o, Cline n) if ((diff = sub_join(o, n, tn, 0))) { o->flags = (o->flags & ~CLF_MISS) | of; - if (po) { + if (po && po->prefix && + cmp_anchors(o, po, 0)) { po->flags |= CLF_MISS; po->max += diff; } |
