changeset 23140:e66b3bfea380

maint: Merge stable to default.
author John W. Eaton <jwe@octave.org>
date Thu, 02 Feb 2017 17:25:59 -0500
parents 334119c390b3 (current diff) 900ae902aa90 (diff)
children bfa4ad642fa0
files NEWS scripts/plot/util/print.m scripts/plot/util/private/__print_parse_opts__.m
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Thu Feb 02 16:16:26 2017 -0500
+++ b/NEWS	Thu Feb 02 17:25:59 2017 -0500
@@ -263,7 +263,7 @@
       bitmax               | flintmax
       mahalanobis          | mahal in Octave-Forge statistics pkg
       md5sum               | hash
-      octve_config_info    | __octave_config_info__
+      octave_config_info   | __octave_config_info__
       onenormest           | normest1
       sleep                | pause
       usleep               | pause
--- a/scripts/plot/util/print.m	Thu Feb 02 16:16:26 2017 -0500
+++ b/scripts/plot/util/print.m	Thu Feb 02 17:25:59 2017 -0500
@@ -315,7 +315,7 @@
   opts = __print_parse_opts__ (varargin{:});
 
   folder = fileparts (opts.name);
-  if (! isempty (folder) && ! exist (folder,"dir"))
+  if (! isempty (folder) && ! exist (folder, "dir"))
     error ("print: directory %s does not exist", folder);
   endif
 
@@ -325,7 +325,7 @@
   endif
   fclose (fid);
   unlink (opts.name);
-  
+
   opts.pstoedit_cmd = @pstoedit;
   opts.fig2dev_cmd = @fig2dev;
   opts.latex_standalone = @latex_standalone;
--- a/scripts/plot/util/private/__print_parse_opts__.m	Thu Feb 02 16:16:26 2017 -0500
+++ b/scripts/plot/util/private/__print_parse_opts__.m	Thu Feb 02 17:25:59 2017 -0500
@@ -262,7 +262,7 @@
   if (any (match))
     default_suffix = suffixes{match};
   else
-    error ("print: unknown device %s", arg_st.devopt);  
+    error ("print: unknown device %s", arg_st.devopt);
   endif
 
   if (dot == 0 && ! isempty (arg_st.name))