From 453597547a5c529efbab6b3122542c09104fa861 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sun, 8 Feb 2009 08:09:18 +0000 Subject: 26530: emulate -c restores all options on return --- Doc/Zsh/builtins.yo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Doc') diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 9927e9f71..4487ee175 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -357,7 +357,8 @@ noderef(Compatibility) . If tt(-c) tt(arg) is given, evaluate tt(arg) after temporary setting -requested emulation. Emulation will be restored before tt(emulate) returns. +requested emulation. Emulation and all options will be restored to their +original values before tt(emulate) returns. If the tt(-R) option is given, all options are reset to their default value corresponding to the specified emulation -- cgit 1.4.1