diff options
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r-- | Src/Zle/zle_hist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c index b43f00bb3..7fad3845b 100644 --- a/Src/Zle/zle_hist.c +++ b/Src/Zle/zle_hist.c @@ -252,7 +252,7 @@ acceptlineanddownhistory(char **args) if (!(he = movehistent(quietgethist(histline), 1, HIST_FOREIGN))) return 1; - pushnode(bufstack, ztrdup(ZLETEXT(he))); + zpushnode(bufstack, ztrdup(ZLETEXT(he))); done = 1; stackhist = he->histnum; return 0; @@ -506,9 +506,9 @@ pushline(char **args) if (n < 0) return 1; - pushnode(bufstack, metafy((char *) line, ll, META_DUP)); + zpushnode(bufstack, metafy((char *) line, ll, META_DUP)); while (--n) - pushnode(bufstack, ztrdup("")); + zpushnode(bufstack, ztrdup("")); stackcs = cs; *line = '\0'; ll = cs = 0; @@ -902,7 +902,7 @@ acceptandinfernexthistory(char **args) he; he = movehistent(he, -1, HIST_FOREIGN)) { if (!metadiffer(ZLETEXT(he), (char *) line, ll)) { he = movehistent(he, 1, HIST_FOREIGN); - pushnode(bufstack, ztrdup(ZLETEXT(he))); + zpushnode(bufstack, ztrdup(ZLETEXT(he))); stackhist = he->histnum; return 0; } |