mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* edit.c (edit_execute_cmd): Enable user menu in mcedit.
This commit is contained in:
parent
c0501a8ea4
commit
58572c60da
@ -1,3 +1,7 @@
|
||||
2003-07-25 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* edit.c (edit_execute_cmd): Enable user menu in mcedit.
|
||||
|
||||
2003-07-20 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* editcmd.c (edit_quit_cmd): Rename to ...
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "src/cmd.h" /* view_other_cmd() */
|
||||
#include "src/user.h" /* user_menu_cmd() */
|
||||
#include "src/main.h" /* edit_one_file */
|
||||
#include "src/wtools.h" /* query_dialog() */
|
||||
|
||||
/*
|
||||
@ -2566,12 +2565,7 @@ int edit_execute_cmd (WEdit * edit, int command, int char_for_insertion)
|
||||
edit_goto_matching_bracket (edit);
|
||||
break;
|
||||
case CK_User_Menu:
|
||||
if (edit_one_file) {
|
||||
message (1, MSG_ERROR, _("User menu available only in mcedit invoked from mc"));
|
||||
break;
|
||||
}
|
||||
else
|
||||
user_menu (edit);
|
||||
user_menu (edit);
|
||||
break;
|
||||
case CK_Sort:
|
||||
edit_sort_cmd (edit);
|
||||
|
Loading…
Reference in New Issue
Block a user