From fa8a0e241c8ac9eb48ab9fc2d8bb3105088e0db9 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 7 Mar 2012 06:10:42 +0000 Subject: 30320: "emulate" accepts invocation-time flags; other small doc tweaks. --- Src/options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/options.c') diff --git a/Src/options.c b/Src/options.c index 48df16045..c6db75372 100644 --- a/Src/options.c +++ b/Src/options.c @@ -767,6 +767,8 @@ dosetopt(int optno, int value, int force) return -1; #endif /* GETPWNAM_FAKED */ } else if ((optno == EMACSMODE || optno == VIMODE) && value) { + if (sticky_emulation) + return -1; zleentry(ZLE_CMD_SET_KEYMAP, optno); opts[(optno == EMACSMODE) ? VIMODE : EMACSMODE] = 0; } else if (optno == SUNKEYBOARDHACK) { -- cgit 1.4.1