1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

25345, 25347: neaten interface from main shell to zle

This commit is contained in:
Peter Stephenson 2008-07-31 08:44:16 +00:00
parent 8a466992da
commit 0c9830d23c
13 changed files with 206 additions and 122 deletions

View file

@ -724,7 +724,7 @@ dosetopt(int optno, int value, int force)
return -1;
#endif /* GETPWNAM_FAKED */
} else if ((optno == EMACSMODE || optno == VIMODE) && value) {
(*zlesetkeymapptr)(optno);
zleentry(ZLE_CMD_SET_KEYMAP, optno);
opts[(optno == EMACSMODE) ? VIMODE : EMACSMODE] = 0;
}
opts[optno] = value;