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:
parent
8a466992da
commit
0c9830d23c
13 changed files with 206 additions and 122 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue