]> git.eshelyaron.com Git - emacs.git/commit
Remove obscure, obsolete code from do_switch_frame
authorAlan Mackenzie <acm@muc.de>
Thu, 7 Jul 2022 15:38:09 +0000 (15:38 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 7 Jul 2022 15:38:09 +0000 (15:38 +0000)
commit9cd72b02b67e92e89b83791b66fe40c4b50d8357
tree8617865bcda9b747dc7d08742a573b815a208643
parentf32808ce98d0612bc5ad949f41563001768ab87a
Remove obscure, obsolete code from do_switch_frame

This is relevant for bug #56305, and might solve that bug.  The code being
removed went into Emacs between 1992 and 1994, and looks to have been a
workaround for switching frames, before the command 'other-frame' had been
written.  Nowadays, that code has harmful effects, causing frames' focus to be
redirected at random, sometimes back to the frame itself.

* src/frame.c (do_switch_frame): Remove 53 lines of code.
src/frame.c