# HG changeset patch # User Ben Abbott # Date 1224516315 14400 # Node ID db19494c7c2a3735ddba417c10a9e9ec8620e07a # Parent 166a689b77a9c68c40c9dbe5adea284d701768a7 closereq.m: Respect property tag. diff -r 166a689b77a9 -r db19494c7c2a scripts/ChangeLog --- a/scripts/ChangeLog Mon Oct 20 16:19:23 2008 +0100 +++ b/scripts/ChangeLog Mon Oct 20 11:25:15 2008 -0400 @@ -13,6 +13,8 @@ 2008-10-20 Ben Abbott + * plot/closereq.m: Respect property tag. + * plot/__stem__.m: Respect new ordering of children when setting baseline. diff -r 166a689b77a9 -r db19494c7c2a scripts/plot/closereq.m --- a/scripts/plot/closereq.m Mon Oct 20 16:19:23 2008 +0100 +++ b/scripts/plot/closereq.m Mon Oct 20 11:25:15 2008 -0400 @@ -33,7 +33,7 @@ warning ("closereq: calling closereq from octave prompt is not supported, use `close' instead"); cf = get (0, "currentfigure"); endif - if (! isempty (cf) && cf != 0) + if (! isempty (cf) && isfigure (cf)) delete (cf); endif else