]> git.eshelyaron.com Git - emacs.git/commit
Avoid crash in Fselect_frame due to null selected_window (Bug#7728).
authorMartin Rudalics <rudalics@gmx.at>
Sat, 15 Jan 2011 02:55:58 +0000 (21:55 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 15 Jan 2011 02:55:58 +0000 (21:55 -0500)
commit6dc1d2d387edd0e2dc301871134a071af5d0744a
treef6a487de14f3d91427d98a2fc0bcac2295b7ebde
parentb024d9f02d2758815069b2a0df3af72fcf0ee220
Avoid crash in Fselect_frame due to null selected_window (Bug#7728).

* window.c (inhibit_point_swap): New variable.
(Fselect_window): If inhibit_point_swap is nonzero, avoid swapping
point this time.
(Fset_window_configuration): Set inhibit_point_swap to 1 instead
of setting selected_window to nil (Bug#7728).
src/ChangeLog
src/window.c