Lines Matching refs:el_history
564 int sv_event = el->el_history.eventno;
569 if (el->el_history.eventno == 0) { /* save the current buffer
571 (void) wcsncpy(el->el_history.buf, el->el_line.buffer,
573 el->el_history.last = el->el_history.buf +
576 el->el_history.eventno += el->el_state.argument;
580 el->el_history.eventno = sv_event;
583 /* el->el_history.eventno was fixed by first call */
605 el->el_history.eventno -= el->el_state.argument;
607 if (el->el_history.eventno < 0) {
608 el->el_history.eventno = 0;
634 if (el->el_history.eventno < 0) {
639 el->el_history.eventno = 0;
642 if (el->el_history.eventno == 0) {
643 (void) wcsncpy(el->el_history.buf, el->el_line.buffer,
645 el->el_history.last = el->el_history.buf +
648 if (el->el_history.ref == NULL)
657 for (h = 1; h <= el->el_history.eventno; h++)
681 el->el_history.eventno = h;
703 if (el->el_history.eventno == 0)
706 if (el->el_history.ref == NULL)
715 for (h = 1; h < el->el_history
728 if (!c_hmatch(el, el->el_history.buf)) {
735 el->el_history.eventno = found;