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