# HG changeset patch # User Rik # Date 1424841748 28800 # Node ID 5c1a38089f8999c396d60291596e22cb0f678b25 # Parent a59c5a16c9abec07ad121ec3450a85acbff461a9 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__. diff -r a59c5a16c9ab -r 5c1a38089f89 libinterp/corefcn/sysdep.cc --- 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 (); diff -r a59c5a16c9ab -r 5c1a38089f89 scripts/miscellaneous/open.m --- 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