Home | History | Annotate | Download | only in src

Lines Matching refs:macro

863 #define	AEDIT	&aedit		/* area for kill ring and macro defns */
936 static char *(*x_atab)[X_TABSZ]; /* macro definitions */
944 static char *macroptr; /* bind key macro active? */
1232 /* avoid bind key macro recursion */
2456 bool macro,
2487 || (macro && f != XFUNC_ins_string)
2532 } else if (macro) {
3487 unsigned char *buf; /* pointer to macro(s) being expanded */
3490 static struct macro_state macro;
3550 if (macro.p) {
3551 c = *macro.p++;
3552 /* end of current macro? */
3555 if (*macro.p++)
4036 /* Don't save state in middle of macro.. */
4037 if (is_undoable(*cmd) && !macro.p) {
4065 if ((p = (char *)macro.p))
4069 /* insert alias into macro buffer */
4071 olen = !macro.p ? 2 :
4072 macro.len - (macro.p - macro.buf);
4080 if (macro.p) {
4081 memcpy(nbuf + nlen, macro.p, olen);
4082 afree(macro.buf, APERM);
4088 macro.p = macro.buf = (unsigned char *)nbuf;
4089 macro.len = nlen;
5406 if (macro.p) {
5407 afree(macro.buf, APERM);
5408 memset((char *)&macro, 0, sizeof(macro));