summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-12-30 18:38:02 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-12-30 18:38:02 -0800
commitd462db99d38119e5ae8fa983c057bbec21d3d9f7 (patch)
treefecd1aede80cc6d0c0df0e59d4ca3bc3c2b41ba5 /parser.c
parenta80b573c8c26bec0aa8cfd28a05297a88f30337b (diff)
downloadtxr-d462db99d38119e5ae8fa983c057bbec21d3d9f7.tar.gz
txr-d462db99d38119e5ae8fa983c057bbec21d3d9f7.tar.bz2
txr-d462db99d38119e5ae8fa983c057bbec21d3d9f7.zip
Fix regression in tab completion.
Same issue as with Vim syntax highlighting. * eval.c (mboundp): Externalize static function. * eval.h (mboundp): Declared. * parser.c (find_matching_syms): Expand fboundp check to encompass mboundp and special_operator_p.
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index ec59399d..4484eba0 100644
--- a/parser.c
+++ b/parser.c
@@ -458,7 +458,7 @@ static void find_matching_syms(lino_completions_t *cpl,
switch (par) {
case '(':
- if (!fboundp(sym))
+ if (!fboundp(sym) && !mboundp(sym) && !special_operator_p(sym))
continue;
break;
case '[':