# HG changeset patch # User jwe # Date 1095901472 0 # Node ID 06f7ff1aee5abc3563c1dca1633429cd70194c36 # Parent 6d41c8ee35cff8a7eb706792352f8406303bc3eb [project @ 2004-09-23 01:04:32 by jwe] diff --git a/PROJECTS b/PROJECTS --- a/PROJECTS +++ b/PROJECTS @@ -412,6 +412,12 @@ Octave line number, appended as a comment (users should probably be able to control the format). + * Avoid writing the history file if the history list has not + changed. + + * Avoid permission errors if the history file cannot be opened for + writing. + * Fix history problems -- core dump if multiple processes are writing to the same history file? diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-09-22 John W. Eaton + + * pt-plot.cc (send_to_plot_stream): Skip automatic replot if in + multiplot mode. + 2004-09-22 David Bateman * ov-fcn-inline.cc (Finline): When called with a single arg, derive diff --git a/src/pt-plot.cc b/src/pt-plot.cc --- a/src/pt-plot.cc +++ b/src/pt-plot.cc @@ -217,7 +217,11 @@ { *plot_stream << cmd; - if (! (is_replot || is_splot || is_plot) + octave_value mm = get_global_value ("__multiplot_mode__"); + + bool is_multiplot_mode = mm.is_true (); + + if (! (is_replot || is_splot || is_plot || is_multiplot_mode) && plot_line_count > 0 && Vautomatic_replot) *plot_stream << Vgnuplot_command_replot << Vgnuplot_command_end;