changeset 7150:68a1b616b7df

[project @ 2007-11-09 18:48:41 by jwe]
author jwe
date Fri, 09 Nov 2007 18:48:42 +0000
parents 5c121a8b40b5
children aeeb646f6538
files src/ChangeLog src/DLD-FUNCTIONS/__gnuplot_raw__.l
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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\