# HG changeset patch # User jwe # Date 1194634122 0 # Node ID 68a1b616b7df54318b6fa493a9b73c11ce12838d # Parent 5c121a8b40b5ec4d5372bae5c6044fdf1956000e [project @ 2007-11-09 18:48:41 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -20,7 +20,7 @@ Fgnuplot_command_using, Fgnuplot_command_with, Fgnuplot_command_axes, Fgnuplot_command_title, Fgnuplot_command_end, Fgnuplot_use_title_option, - F__clear_plot_window__, Fcloseplot, Fpurge_tmp_files, + F__clear_plot_window__, Fpurge_tmp_files, F__gnuplot_raw__, F__gnuplot_send_inline_data__, F__gnuplot_set__, F__gnuplot_show__, F__gnuplot_plot__, F__gnuplot_splot__, F__gnuplot_replot__): Use WARN_OBSOLETE. diff --git a/src/DLD-FUNCTIONS/__gnuplot_raw__.l b/src/DLD-FUNCTIONS/__gnuplot_raw__.l --- a/src/DLD-FUNCTIONS/__gnuplot_raw__.l +++ b/src/DLD-FUNCTIONS/__gnuplot_raw__.l @@ -1730,7 +1730,9 @@ @seealso{close}\n\ @end deftypefn") { - WARN_OBSOLETE ("closeplot"); + // Don't use WARN_OBSOLETE here because closeplot is called + // unconditionally from atexit and always printing the warning when + // Octave exits could cause confusion. gnuplot::close (); @@ -1757,7 +1759,7 @@ return octave_value_list (); } - + DEFUN_DLD (__gnuplot_raw__, args, , "-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} __gnuplot_raw__ (@var{string})\n\