summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc1
-rw-r--r--src/core/wee-command.c52
2 files changed, 2 insertions, 51 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index f4ee21c04..5dc855c57 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -30,6 +30,7 @@ New features::
* core, plugins: make many identifiers case sensitive (issue #1872, issue #398, bug #32213)
* core: add item "mouse_status" in default status bar, change default color to lightgreen
* core: add "stable-number" and "devel-number" in script version.sh
+ * core: remove deprecated parameters from command `/input`
* api: add function config_set_version (issue #1238)
* api: add optional argument with version in info "version_number"
* alias: use lower case for default aliases, rename all aliases to lower case on upgrade (issue #1872)
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index c28b376d1..339ef4918 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -3574,57 +3574,7 @@ COMMAND_CALLBACK(input)
else if (string_strcmp (argv[1], "redo") == 0)
gui_input_redo (buffer);
else
- {
- /*
- * deprecated options kept for compatibility
- * (they may be removed in future)
- */
-
- /* since WeeChat 3.8: "/buffer jump smart" */
- if (string_strcmp (argv[1], "jump_smart") == 0)
- gui_buffer_jump_smart (gui_current_window);
- /* since WeeChat 1.0: "/buffer +" */
- else if (string_strcmp (argv[1], "jump_last_buffer") == 0)
- gui_buffer_jump_last_visible_number (gui_current_window);
- /* since WeeChat 3.8: "/buffer jump last_displayed" */
- else if (string_strcmp (argv[1], "jump_last_buffer_displayed") == 0)
- gui_buffer_jump_last_buffer_displayed (gui_current_window);
- /* since WeeChat 3.8: "/buffer jump prev_visited" */
- else if (string_strcmp (argv[1], "jump_previously_visited_buffer") == 0)
- gui_buffer_jump_previously_visited_buffer (gui_current_window);
- /* since WeeChat 3.8: "/buffer jump next_visited" */
- else if (string_strcmp (argv[1], "jump_next_visited_buffer") == 0)
- gui_buffer_jump_next_visited_buffer (gui_current_window);
- /* since WeeChat 3.8: "/hotlist clear" */
- else if (string_strcmp (argv[1], "hotlist_clear") == 0)
- gui_hotlist_clear_level_string (buffer, (argc > 2) ? argv[2] : NULL);
- /* since WeeChat 3.8: "/hotlist remove" */
- else if (string_strcmp (argv[1], "hotlist_remove_buffer") == 0)
- gui_hotlist_remove_buffer (buffer, 1);
- /* since WeeChat 3.8: "/hotlist restore" */
- else if (string_strcmp (argv[1], "hotlist_restore_buffer") == 0)
- gui_hotlist_restore_buffer (buffer);
- /* since WeeChat 3.8: "/hotlist restore -all" */
- else if (string_strcmp (argv[1], "hotlist_restore_all") == 0)
- gui_hotlist_restore_all_buffers ();
- /* since WeeChat 3.8: "/buffer set unread" */
- else if (string_strcmp (argv[1], "set_unread_current_buffer") == 0)
- (void) input_data (buffer, "/buffer set unread", NULL);
- /* since WeeChat 3.8: "/allbuf /buffer set unread" */
- else if (string_strcmp (argv[1], "set_unread") == 0)
- (void) input_data (buffer, "/allbuf /buffer set unread", NULL);
- /* since WeeChat 3.8: "/buffer switch" */
- else if (string_strcmp (argv[1], "switch_active_buffer") == 0)
- gui_buffer_switch_active_buffer (buffer);
- /* since WeeChat 3.8: "/buffer switch previous" */
- else if (string_strcmp (argv[1], "switch_active_buffer_previous") == 0)
- gui_buffer_switch_active_buffer_previous (buffer);
- /* since WeeChat 3.8: "/buffer zoom" */
- else if (string_strcmp (argv[1], "zoom_merged_buffer") == 0)
- gui_buffer_zoom (buffer);
- else
- COMMAND_ERROR;
- }
+ COMMAND_ERROR;
return WEECHAT_RC_OK;
}