changeset 19890:5c1a38089f89

Change open_with_system_app to internal function. * sysdep.cc (Fopen_with_system_app): Rename function to __open_with_system_app__. * open.m: Rename instance to __open_with_system_app__.
author Rik <rik@octave.org>
date Tue, 24 Feb 2015 21:22:28 -0800
parents a59c5a16c9ab
children bf511802add7
files libinterp/corefcn/sysdep.cc scripts/miscellaneous/open.m
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/sysdep.cc	Tue Feb 24 21:06:54 2015 -0800
+++ b/libinterp/corefcn/sysdep.cc	Tue Feb 24 21:22:28 2015 -0800
@@ -185,9 +185,9 @@
 }
 #endif
 
-DEFUN (open_with_system_app, args, ,
+DEFUN (__open_with_system_app__, args, ,
            "-*- texinfo -*-\n\
-@deftypefn {Loadable Function} {} __w32_shell_execute__ (@var{file})\n\
+@deftypefn {Loadable Function} {} __open_with_system_app__ (@var{file})\n\
 Undocumented internal function.\n\
 @end deftypefn")
 {
@@ -215,7 +215,7 @@
 #endif
         }
       else
-        error ("open_with_system_app: expecting argument to be a file name");
+        error ("__open_with_system_app__: argument must be a file name");
     }
   else
     print_usage ();
--- a/scripts/miscellaneous/open.m	Tue Feb 24 21:06:54 2015 -0800
+++ b/scripts/miscellaneous/open.m	Tue Feb 24 21:22:28 2015 -0800
@@ -67,7 +67,7 @@
       error ("executing .exe files is only supported on Windows systems");
     endif
   else
-    open_with_system_app (file);
+    __open_with_system_app__ (file);
   endif
 
 endfunction