Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] document that PRIVILEGED and RESTRICTED are not restored by LOCALOPTIONS
- X-seq: zsh-workers 26504
- From: Andrey Borzenkov <arvidjaar@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: [PATCH] document that PRIVILEGED and RESTRICTED are not restored by LOCALOPTIONS
- Date: Sun, 1 Feb 2009 11:44:17 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=yOAza1x3rAlypf95W3ZVFpmE4Zcc8LkS1qsi3/BIY9w=; b=WRhp9KN6duwPGVauDx8CumQyEOI0zmxPZngIRN0Bb16dD682wm0pSwu8k2ogg2h+HM +6EW7He4r6wvMLN8q1bI+PUs6qQbBTwQGf4530p9SJcrGrasm9bemfbDLKp3AXB0vSGs pJhm8G4b0yTVUuR+qM2dir0uK42KmF7VFskio=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=Oc+dnNVcvBf/tFYrm7cults3/fTBvHlxpHYgPTMOb0ri9iwEsgl+eCRU7XiGkzYYx6 eFfoTpGVYPHIfjPV874sZLwn6aBbn6meOeaHVb761ZV/hJ8mKTjCXJLx9m2XOG5QZpOo FdraCrN+VQgmBLyujjimHalrLx6mFkvzMvF3k=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Index: Doc/Zsh/options.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/options.yo,v
retrieving revision 1.69
diff -u -p -r1.69 options.yo
--- Doc/Zsh/options.yo 18 Dec 2008 09:49:04 -0000 1.69
+++ Doc/Zsh/options.yo 1 Feb 2009 08:43:41 -0000
@@ -1109,8 +1109,9 @@ temporarily to the name of the function/
pindex(LOCAL_OPTIONS)
item(tt(LOCAL_OPTIONS) <K>)(
If this option is set at the point of return from a shell function,
-all the options (including this one) which were in force upon entry to
-the function are restored. Otherwise, only this option and the
+most options (including this one) which were in force upon entry to
+the function are restored; options that are not restored are
+tt(PRIVILEGED) and tt(RESTRICTED). Otherwise, only this option and the
tt(XTRACE) and tt(PRINT_EXIT_VALUE) options are restored. Hence
if this is explicitly unset by a shell function the other options in
force at the point of return will remain so.
Attachment:
signature.asc
Description: This is a digitally signed message part.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author