changeset 8609:fcf762ba66cf

load-path.cc (Fcommand_line_path): rename from Fcommandlinepath
author John W. Eaton <jwe@octave.org>
date Tue, 27 Jan 2009 23:02:08 -0500
parents 5cc1fba0a7d6
children 85c9906abfd1
files scripts/ChangeLog scripts/path/savepath.m src/ChangeLog src/load-path.cc
diffstat 4 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Jan 27 22:59:51 2009 -0500
+++ b/scripts/ChangeLog	Tue Jan 27 23:02:08 2009 -0500
@@ -1,3 +1,7 @@
+2009-01-27  John W. Eaton  <jwe@octave.org>
+
+	* path/savepath.m: Call command_line_path instead of commandlinepath.
+
 2009-01-27  Jason Riedy  <jason@acm.org>
 
 	* miscellaneous/orderfields.m: Really fix the indexing for struct
--- a/scripts/path/savepath.m	Tue Jan 27 22:59:51 2009 -0500
+++ b/scripts/path/savepath.m	Tue Jan 27 23:02:08 2009 -0500
@@ -116,7 +116,7 @@
     ## Remove the portion of the path defined via the command line
     ## and/or the environment.
     workingpath = parsepath (path);
-    command_line_path = parsepath (commandlinepath ());
+    command_line_path = parsepath (command_line_path ());
     octave_path = parsepath (getenv ("OCTAVE_PATH"));
     if (isempty (pathdef ()))
       ## This occurs when running octave via run-octave. In this instance
--- a/src/ChangeLog	Tue Jan 27 22:59:51 2009 -0500
+++ b/src/ChangeLog	Tue Jan 27 23:02:08 2009 -0500
@@ -1,3 +1,7 @@
+2009-01-27  John W. Eaton  <jwe@octave.org>
+
+	* load-path.cc (Fcommand_line_path): Rename from Fcommandlinepath.
+
 2009-01-27 Ben Abbott <bpabbott@mac.com>
 
 	* graphics.cc (convert_position): Handle character units.
--- a/src/load-path.cc	Tue Jan 27 22:59:51 2009 -0500
+++ b/src/load-path.cc	Tue Jan 27 23:02:08 2009 -0500
@@ -1789,9 +1789,9 @@
   return retval;
 }
 
-DEFUN (commandlinepath, , ,
+DEFUN (command_line_path, , ,
     "-*- texinfo -*-\n\
-@deftypefn {Built-in Function} {} commandlinepath (@dots{})\n\
+@deftypefn {Built-in Function} {} command_line_path (@dots{})\n\
 Return the command line path variable.\n\
 \n\
 @seealso{path, addpath, rmpath, genpath, pathdef, savepath, pathsep}\n\