]> git.eshelyaron.com Git - emacs.git/commit
ffap: Don't switch window unless needed
authorPhilipp Stephani <phst@google.com>
Sun, 8 Jan 2017 18:44:22 +0000 (19:44 +0100)
committerPhilipp Stephani <phst@google.com>
Sat, 22 Apr 2017 16:33:38 +0000 (18:33 +0200)
commitace38bafa6ae0d40bf3fac9f998c8ecbe36d5f41
tree606bda0d44d6206a1ac1b00272632b2c5ee544f4
parentd354fc38286cba05b3ba2fefb9d9cd6d30deac3d
ffap: Don't switch window unless needed

When using ffap-other-window, don't change the window configuration
unless a new buffer has actually been created (Bug#25352).

* lisp/ffap.el (ffap-other-frame): Don't change the window
configuration if no new buffer has been created.
* test/lisp/ffap-tests.el (ffap-other-window--bug-25352): Add unit
test.
lisp/ffap.el
test/lisp/ffap-tests.el