zsh-workers
 help / color / mirror / code / Atom feed
* Minor change for new isearch code
@ 1996-05-12 18:48 Wayne Davison
  1996-05-13  1:12 ` Zoltan Hidvegi
  0 siblings, 1 reply; 5+ messages in thread
From: Wayne Davison @ 1996-05-12 18:48 UTC (permalink / raw)
  To: Zsh hacking and development

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..



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-05-14 17:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-12 18:48 Minor change for new isearch code Wayne Davison
1996-05-13  1:12 ` Zoltan Hidvegi
1996-05-13 11:22   ` Wayne Davison
1996-05-14  3:11     ` Zoltan Hidvegi
1996-05-14 17:21       ` Wayne Davison

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).