1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-29 05:21:00 +01:00

Make mbegin, mend, match local in zed.

Needed for zstyle -m.
This commit is contained in:
Peter Stephenson 2017-08-31 16:55:26 +01:00
parent ebcea98eca
commit b2e44bce62
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2017-08-31 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Functions/Misc/zed: zstyle -m can set match,
mbegin, mend, so declare locally.
* 41627: Src/loop.c, Test/C03traps.ztst: fix problem with
ERR_RETURN in initialisation scripts and also on nested
function involving ERR_RETURN suppression in the caller.

View file

@ -36,6 +36,9 @@ fi
local curcontext=zed:::
# Matching used in zstyle -m: hide result from caller.
# Variables not used directly here.
local -a match mbegin mend
zstyle -m ":completion:zed:*" insert-tab '*' ||
zstyle ":completion:zed:*" insert-tab yes