summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/parser.c b/parser.c
index ba416c70..b791d7d8 100644
--- a/parser.c
+++ b/parser.c
@@ -957,14 +957,13 @@ static void find_matching_syms(lino_completions_t *cpl,
if (!fboundp(sym) && !mboundp(sym) && !special_operator_p(sym))
continue;
break;
- case '[':
- if (!boundp(sym) && !lookup_fun(nil, sym))
- continue;
- break;
case 'M':
case 'S':
break;
+ case '[':
default:
+ if (!fboundp(sym) && !boundp(sym))
+ continue;
break;
}