elibarzilay/magit — comment on commit b214eeb5900ff8c2c766aa2a49be2552411e13d6
File:  line 0
By elibarzilay:

I tracked the problem to the `delete-trailing-whitespace' which changes the position. A tiny fix for the above is to replace `(setq p (point))` with `(setq p (point-marker))`. Do you want me to resubmit a modified patch?