# HG changeset patch # User jwe # Date 1190231653 0 # Node ID b84be419beabfcc23e81d0854632de0992bde364 # Parent 3fb60fc8139fbf3b526b2f09454292c9a692d9c1 [project @ 2007-09-19 19:54:13 by jwe] diff -r 3fb60fc8139f -r b84be419beab liboctave/ChangeLog --- a/liboctave/ChangeLog Wed Sep 19 16:55:31 2007 +0000 +++ b/liboctave/ChangeLog Wed Sep 19 19:54:13 2007 +0000 @@ -1,3 +1,8 @@ +2007-09-19 John W. Eaton + + * cmd-edit.cc (command_editor::remove_startup_hook): + Fix cut-and-paste error. + 2007-09-18 John W. Eaton * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, diff -r 3fb60fc8139f -r b84be419beab liboctave/cmd-edit.cc --- a/liboctave/cmd-edit.cc Wed Sep 19 16:55:31 2007 +0000 +++ b/liboctave/cmd-edit.cc Wed Sep 19 19:54:13 2007 +0000 @@ -860,7 +860,7 @@ startup_hook_set_iterator p = startup_hook_set.find (f); if (p != startup_hook_set.end ()) - event_hook_set.erase (p); + startup_hook_set.erase (p); if (startup_hook_set.empty ()) instance->restore_startup_hook ();