summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/command.c b/command.c
index c1e9e3a..4f8e7ea 100644
--- a/command.c
+++ b/command.c
@@ -705,8 +705,9 @@ void command_execute_ex(Ted *ted, Command c, const CommandArgument *full_argumen
macro_execute(ted, (u32)argument);
break;
case CMD_RENAME_SYMBOL:
- if (buffer && buffer_lsp(buffer))
- menu_open(ted, MENU_RENAME_SYMBOL);
+ if (buffer && buffer_lsp(buffer)) {
+ rename_symbol_start(ted);
+ }
break;
case CMD_FORMAT_FILE:
format_file(ted);