diff options
| author | Stephen Berman | 2017-07-29 13:34:47 +0200 |
|---|---|---|
| committer | Stephen Berman | 2017-07-29 13:34:47 +0200 |
| commit | 8e394b082bd6ecd9ba212cb3ca07cbace66767a6 (patch) | |
| tree | 4782f5d9fb8b3143acd57ccf9de78f633c6c94f6 /test/src | |
| parent | dfee60fe66f3d9fe4249c9662d802753f3e50929 (diff) | |
| download | emacs-8e394b082bd6ecd9ba212cb3ca07cbace66767a6.tar.gz emacs-8e394b082bd6ecd9ba212cb3ca07cbace66767a6.zip | |
Preserve point under 'dired-auto-revert-buffer' (third case)
* lisp/files.el (find-file): Use pop-to-buffer-same-window
instead of switch-to-buffer. This preserves Dired window
point when dired-auto-revert-buffer is non-nil. (Bug#27243)
* test/lisp/dired-tests.el (dired-test-bug27243-01)
(dired-test-bug27243-02, dired-test-bug27243-03): New tests.
The first two replace a previous test that combined them; that
test intermittently fails in the Hydra build system, so maybe
separating the two cases will help locate the point of
failure. The third test involves find-file but is here
because it, like the others, is testing the effect of
dired-auto-revert-buffer.
Diffstat (limited to 'test/src')
0 files changed, 0 insertions, 0 deletions