~vcs-imports/vim/master

Viewing all changes in revision 9698.

  • Committer: Bram Moolenaar
  • Date: 2019-04-25 20:22:01 UTC
  • Revision ID: git-v1:a68e59590905da9b4448ff1fcac929ad1a18da9e
patch 8.1.1205: a BufReadPre autocommand may cause the cursor to move

Problem:    A BufReadPre autocommand may cause the cursor to move.
Solution:   Restore the cursor position after executing the autocommand,
            unless the autocommand moved it. (Christian Brabandt,
            closes #4302, closes #4294)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: