Lines Matching defs:sp
37 ex_abbr(SCR *sp, EXCMD *cmdp)
44 if (seq_dump(sp, SEQ_ABBREV, 0) == 0)
45 msgq(sp, M_INFO, "105|No abbreviations to display");
67 msgq(sp, M_ERR,
73 msgq(sp, M_ERR,
81 msgq(sp, M_ERR,
86 if (seq_set(sp, NULL, 0, cmdp->argv[0]->bp, cmdp->argv[0]->len,
90 F_SET(sp->gp, G_ABBREV);
101 ex_unabbr(SCR *sp, EXCMD *cmdp)
106 if (!F_ISSET(sp->gp, G_ABBREV) ||
107 seq_delete(sp, ap->bp, ap->len, SEQ_ABBREV)) {
108 msgq_wstr(sp, M_ERR, ap->bp,