Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Minor change for new isearch code
- X-seq: zsh-workers 1056
- From: Wayne Davison <wayne@xxxxxxxxxxxxxxxxxx>
- To: Zsh hacking and development <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: Minor change for new isearch code
- Date: Sun, 12 May 1996 11:48:25 -0700
Here's a minor tweak for the incremental search code based on my last
patch. It just makes the startup case where you begin the search from
somewhere in the history a little more efficient by using the metafied
history entry directly rather than building one from "line".
Index: zle_hist.c
@@ -637,7 +637,7 @@
s = curhistline = metafy(UTOSCP(line), ll, META_DUP);
}
else
- s = metafy(UTOSCP(line), ll, META_USEHEAP);
+ s = qgetevent(histline);
bindtab = mainbindtab;
pos = metalen(s, cs);
for (;;) {
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author