Lines Matching refs:el_history
644 int sv_event = el->el_history.eventno;
649 if (el->el_history.eventno == 0) { /* save the current buffer
651 (void) Strncpy(el->el_history.buf, el->el_line.buffer,
653 el->el_history.last = el->el_history.buf +
656 el->el_history.eventno += el->el_state.argument;
660 el->el_history.eventno = sv_event;
664 /* el->el_history.eventno was fixed by first call */
686 el->el_history.eventno -= el->el_state.argument;
688 if (el->el_history.eventno < 0) {
689 el->el_history.eventno = 0;
715 if (el->el_history.eventno < 0) {
720 el->el_history.eventno = 0;
723 if (el->el_history.eventno == 0) {
724 (void) Strncpy(el->el_history.buf, el->el_line.buffer,
726 el->el_history.last = el->el_history.buf +
729 if (el->el_history.ref == NULL)
738 for (h = 1; h <= el->el_history.eventno; h++)
762 el->el_history.eventno = h;
784 if (el->el_history.eventno == 0)
787 if (el->el_history.ref == NULL)
796 for (h = 1; h < el->el_history.eventno && hp; h++) {
809 if (!c_hmatch(el, el->el_history.buf)) {
816 el->el_history.eventno = found;