static int tag_cmplt(BW *bw) { if (!tag_word_list) tag_word_list = get_tag_list(); if (!tag_word_list) { ttputc(7); return 0; } return simple_cmplt(bw,tag_word_list); }
static int keymap_cmplt(BW *bw) { /* Reload every time: we should really check date of tags file... if (tag_word_list) varm(tag_word_list); */ if (!keymap_list) keymap_list = get_keymap_list(); if (!keymap_list) { ttputc(7); return 0; } return simple_cmplt(bw,keymap_list); }
static int cmdcmplt(BW *bw) { if (!scmds) scmds = getcmds(); return simple_cmplt(bw,scmds); }