[PATCH] Continue with last-insertion tracker if buffer region is valid

Trevor Murphy trevor.m.murphy at gmail.com
Sat Jun 1 16:20:13 CEST 2013


Hey, all.

Sorry to post this to the mailing list without something on the bug tracker, but bitbucket
apparently has stopped taking OpenID and I don't think this report merits creating a whole new
account and password.

Commit db7e641 resolved Bug #272, "Evil works incorrectly with yasnippet near the end of
buffer". The issue was that `evil-stop-track-last-insertion' would get confused if the last
insertion appeared to extend past the buffer bounds, and the solution was to put in a guard.

However, I think the guard is doing `<' and `>=' comparisons backwards. As in, shouldn't it be like
the attached patch?

Thanks,

Trevor Murphy (1):
  Continue with last-insertion tracker if buffer region is valid

 evil-common.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
1.8.3




More information about the implementations-list mailing list