diff scripts/plot/allchild.m @ 8262:c44db9bad841

allchild.m: move get showhiddenhandles outside of unwind_protect block
author John W. Eaton <jwe@octave.org>
date Wed, 22 Oct 2008 13:01:39 -0400
parents 2ba84879f961
children c539ec5726e7
line wrap: on
line diff
--- a/scripts/plot/allchild.m
+++ b/scripts/plot/allchild.m
@@ -32,8 +32,8 @@
 
 function h = allchild (ha)
 
+  shh = get (0, "showhiddenhandles");
   unwind_protect
-    shh = get (0, "showhiddenhandles");
     set (0, "showhiddenhandles", "on");
     if (isscalar (ha))
       h = get (ha, "children");