* main.c (directory_history_list): Report error if cannot change

directory.
This commit is contained in:
Pavel Roskin 2002-07-19 05:03:44 +00:00
parent 3358ffb440
commit ead99974fb
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-07-19 Pavel Roskin <proski@gnu.org>
* main.c (directory_history_list): Report error if cannot change
directory.
2002-07-16 Pavel Roskin <proski@gnu.org>
* main.c (do_execute): Don't ask to press any key when the shell

View File

@ -1003,6 +1003,8 @@ directory_history_list (WPanel * panel)
r = _do_panel_cd (panel, s, cd_exact);
if (r)
directory_history_add (panel, panel->cwd);
else
message (1, MSG_ERROR, _("Could not change directory") );
g_free (s);
}
}