Mercurial > octave-nkf
changeset 3522:bd422cf62f0c
[project @ 2000-02-02 06:29:21 by jwe]
author | jwe |
---|---|
date | Wed, 02 Feb 2000 06:32:04 +0000 |
parents | 2405b732be40 |
children | b80bbb43a1a9 |
files | liboctave/cmd-hist.cc liboctave/cmd-hist.h |
diffstat | 2 files changed, 2 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/cmd-hist.cc Wed Feb 02 06:22:13 2000 +0000 +++ b/liboctave/cmd-hist.cc Wed Feb 02 06:32:04 2000 +0000 @@ -541,8 +541,7 @@ void command_history::read (bool must_exist) { - if (instance_ok ()) - instance->do_read (must_exist); + read (file (), must_exist); } void @@ -555,8 +554,7 @@ void command_history::read_range (int from, int to, bool must_exist) { - if (instance_ok ()) - instance->do_read_range (from, to, must_exist); + read_range (file (), from, to, must_exist); } void @@ -720,12 +718,6 @@ } void -command_history::do_read (bool must_exist) -{ - do_read (xfile, must_exist); -} - -void command_history::do_read (const std::string& f, bool) { if (f.empty ()) @@ -733,12 +725,6 @@ } void -command_history::do_read_range (int from, int to, bool must_exist) -{ - do_read_range (xfile, from, to, must_exist); -} - -void command_history::do_read_range (const std::string& f, int, int, bool) { if (f.empty ())
--- a/liboctave/cmd-hist.h Wed Feb 02 06:22:13 2000 +0000 +++ b/liboctave/cmd-hist.h Wed Feb 02 06:32:04 2000 +0000 @@ -159,12 +159,8 @@ virtual void do_goto_mark (void); - virtual void do_read (bool); - virtual void do_read (const std::string&, bool); - virtual void do_read_range (int, int, bool); - virtual void do_read_range (const std::string&, int, int, bool); virtual void do_write (const std::string&);