mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
30726: make shell options passed to emulate stick along with the emulation
This commit is contained in:
parent
ad92cb3203
commit
4b86cc48f7
12 changed files with 287 additions and 41 deletions
|
|
@ -289,7 +289,7 @@ setfunction(char *name, char *val, int dis)
|
|||
shf = (Shfunc) zshcalloc(sizeof(*shf));
|
||||
shf->funcdef = dupeprog(prog, 0);
|
||||
shf->node.flags = dis;
|
||||
shf->emulation = sticky_emulation;
|
||||
shfunc_set_sticky(shf);
|
||||
|
||||
if (!strncmp(name, "TRAP", 4) &&
|
||||
(sn = getsignum(name + 4)) != -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue