On 18-Sep-2007, John Swensen wrote:
| OK...after looking at my implementation and how you suggest, yours is
| much better. I have started working on it, but I do have one more
| question though. I still need to create a "default" handler for both
| the startup hook and the event hook that then calls each of the
| registered functions. Would you prefer this to be in the cmd-edit.cc
| file also?
I was thinking of something more like the following change, which I've
checked in.
| It won't be a member of the class, since you can't set the
| readline function pointer to a class function (not even a static one).
Yes, I think you can set it to a static member function (see the
attached patch).
jwe