Lines Matching refs:el
38 * el.hist.c: History functions
57 #define HIST_FUN_INTERNAL(el, fn, arg) \
58 ((((*(el)->el_history.fun) ((el)->el_history.ref, &(el)->el_history.ev, \
59 fn, arg)) == -1) ? NULL : (el)->el_history.ev.str)
61 #define HIST_FUN(el, fn, arg) \
62 (((el)->el_flags & NARROW_HISTORY) ? hist_convert(el, fn, arg) : \
63 HIST_FUN_INTERNAL(el, fn, arg))
65 #define HIST_FUN(el, fn, arg) HIST_FUN_INTERNAL(el, fn, arg)
69 #define HIST_NEXT(el) HIST_FUN(el, H_NEXT, NULL)
70 #define HIST_FIRST(el) HIST_FUN(el, H_FIRST, NULL)
71 #define HIST_LAST(el) HIST_FUN(el, H_LAST, NULL)
72 #define HIST_PREV(el) HIST_FUN(el, H_PREV, NULL)
73 #define HIST_SET(el, num) HIST_FUN(el, H_SET, num)
74 #define HIST_LOAD(el, fname) HIST_FUN(el, H_LOAD fname)
75 #define HIST_SAVE(el, fname) HIST_FUN(el, H_SAVE fname)