Lines Matching refs:el_history
646 int sv_event = el->el_history.eventno;
651 if (el->el_history.eventno == 0) { /* save the current buffer
653 (void) Strncpy(el->el_history.buf, el->el_line.buffer,
655 el->el_history.last = el->el_history.buf +
658 el->el_history.eventno += el->el_state.argument;
662 el->el_history.eventno = sv_event;
666 /* el->el_history.eventno was fixed by first call */
688 el->el_history.eventno -= el->el_state.argument;
690 if (el->el_history.eventno < 0) {
691 el->el_history.eventno = 0;
717 if (el->el_history.eventno < 0) {
722 el->el_history.eventno = 0;
725 if (el->el_history.eventno == 0) {
726 (void) Strncpy(el->el_history.buf, el->el_line.buffer,
728 el->el_history.last = el->el_history.buf +
731 if (el->el_history.ref == NULL)
740 for (h = 1; h <= el->el_history.eventno; h++)
764 el->el_history.eventno = h;
786 if (el->el_history.eventno == 0)
789 if (el->el_history.ref == NULL)
798 for (h = 1; h < el->el_history.eventno && hp; h++) {
811 if (!c_hmatch(el, el->el_history.buf)) {
818 el->el_history.eventno = found;