Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] isearch: do not use PAT_STATIC since we call zle hooks



On Sun, 8 Jan 2017 11:33:58 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> PAT_STATIC already causes the compiled pattern to be placed on the heap,
> so we could introduce a PAT_HEAPDUP that works like PAT_ZDUP except
> there would be no need to explicity freepatprog().

That sounds like a good idea.

pws



Messages sorted by: Reverse Date, Date, Thread, Author