> I understand. Would it be possible to make the exit function run on both
> pre- and post-command hook so that it could use the results of the command
> when needed and eliminate the need in many cases to call the quit function
> manually? Or would that cause problems?
I think it would bump into other problems because the keep-pred
predicate expects to be called from pre-command-hook.
IOW, maybe it would have been a valid design, but it would be an
incompatible change.