Defer whitespace trim until fn chain has completed.

Otherwise if we ENTER in the middle of a line just after some whitespace, trim
will see no trailing whitespace (because the real fn hasn't split the line
yet). So let the real fn do its business and then take a look at the line.