From 69b8d4f81b4dc82ff95e8b845c9a211b62f0248f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 25 Jun 2000 22:59:49 +0000 Subject: Subcommand and command parameter completion works now also if you use alias as the base command. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@380 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/commands.c | 3 --- src/core/commands.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/commands.c b/src/core/commands.c index 5e0a27ba..3e189913 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -30,9 +30,6 @@ #include "lib-config/iconfig.h" #include "settings.h" -#define alias_find(alias) \ - iconfig_get_str("aliases", alias, NULL) - GSList *commands; char *current_command; diff --git a/src/core/commands.h b/src/core/commands.h index a199a1f5..1f1dc8dd 100644 --- a/src/core/commands.h +++ b/src/core/commands.h @@ -22,6 +22,9 @@ enum { CMDERR_NOT_GOOD_IDEA /* not good idea to do, -yes overrides this */ }; +#define alias_find(alias) \ + iconfig_get_str("aliases", alias, NULL) + #define cmd_return_error(a) { signal_emit("error command", 1, GINT_TO_POINTER(a)); signal_stop(); return; } #define cmd_param_error(a) { cmd_params_free(free_arg); cmd_return_error(a); } -- cgit v1.2.3