Lines Matching refs:el
38 * el.hist.c: History functions
55 #define HIST_FUN_INTERNAL(el, fn, arg) \
56 ((((*(el)->el_history.fun) ((el)->el_history.ref, &(el)->el_history.ev, \
57 fn, arg)) == -1) ? NULL : (el)->el_history.ev.str)
58 #define HIST_FUN(el, fn, arg) \
59 (((el)->el_flags & NARROW_HISTORY) ? hist_convert(el, fn, arg) : \
60 HIST_FUN_INTERNAL(el, fn, arg))
62 #define HIST_NEXT(el) HIST_FUN(el, H_NEXT, NULL)
63 #define HIST_FIRST(el) HIST_FUN(el, H_FIRST, NULL)
64 #define HIST_LAST(el) HIST_FUN(el, H_LAST, NULL)
65 #define HIST_PREV(el) HIST_FUN(el, H_PREV, NULL)
66 #define HIST_SET(el, num) HIST_FUN(el, H_SET, num)
67 #define HIST_LOAD(el, fname) HIST_FUN(el, H_LOAD fname)
68 #define HIST_SAVE(el, fname) HIST_FUN(el, H_SAVE fname)
69 #define HIST_SAVE_FP(el, fp) HIST_FUN(el, H_SAVE_FP, fp)
70 #define HIST_NSAVE_FP(el, n, fp) HIST_FUN(el, H_NSAVE_FP, n, fp)