Lines Matching refs:el_history
642 int sv_event = el->el_history.eventno;
647 if (el->el_history.eventno == 0) { /* save the current buffer
649 (void) strncpy(el->el_history.buf, el->el_line.buffer,
651 el->el_history.last = el->el_history.buf +
654 el->el_history.eventno += el->el_state.argument;
658 el->el_history.eventno = sv_event;
662 /* el->el_history.eventno was fixed by first call */
684 el->el_history.eventno -= el->el_state.argument;
686 if (el->el_history.eventno < 0) {
687 el->el_history.eventno = 0;
713 if (el->el_history.eventno < 0) {
718 el->el_history.eventno = 0;
721 if (el->el_history.eventno == 0) {
722 (void) strncpy(el->el_history.buf, el->el_line.buffer,
724 el->el_history.last = el->el_history.buf +
727 if (el->el_history.ref == NULL)
736 for (h = 1; h <= el->el_history.eventno; h++)
760 el->el_history.eventno = h;
782 if (el->el_history.eventno == 0)
785 if (el->el_history.ref == NULL)
794 for (h = 1; h < el->el_history.eventno && hp; h++) {
807 if (!c_hmatch(el, el->el_history.buf)) {
814 el->el_history.eventno = found;