diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/core/wee-command.c | 12 |
2 files changed, 12 insertions, 2 deletions
@@ -7,6 +7,8 @@ v0.4.0-dev, 2012-12-02 Version 0.4.0 (under dev!) -------------------------- +* core: use high priority (50000) for commands /command and /input so that an + alias will not take precedence over these commands (bug #36353) * core: execute command with higher priority when many commands with same name are found with different priorities * core: add color support in options diff --git a/src/core/wee-command.c b/src/core/wee-command.c index fc3182cd4..6d3f17e8f 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -5778,7 +5778,11 @@ command_init () " || unalias %(palette_colors)" " || reset", &command_color, NULL); - hook_command (NULL, "command", + /* + * give high priority (50000) so that an alias will not take precedence + * over this command + */ + hook_command (NULL, "50000|command", N_("launch explicit WeeChat or plugin command"), N_("<plugin> <command>"), N_(" plugin: plugin name ('weechat' for WeeChat internal " @@ -6007,7 +6011,11 @@ command_init () "value: number of history entries to show"), "clear", &command_history, NULL); - hook_command (NULL, "input", + /* + * give high priority (50000) so that an alias will not take precedence + * over this command + */ + hook_command (NULL, "50000|input", N_("functions for command line"), N_("<action> [<arguments>]"), N_("list of actions:\n" |