]> git.eshelyaron.com Git - emacs.git/commit
FOR_EACH_FRAME no longer assumes frame-list
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Dec 2017 17:07:52 +0000 (09:07 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Dec 2017 17:08:27 +0000 (09:08 -0800)
commite019c35df60a306750e1025db99c36701a726ecb
tree1f7f35715aa20cbbb6c63ee1091161906f00980e
parentd64b88da2fcc23cb0676fca382b4ddc7d1b68020
FOR_EACH_FRAME no longer assumes frame-list

This cleans up a recent fix related to Bug#29661.
Suggested by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2017-12/msg00544.html
* src/frame.c (next_frame, prev_frame, delete_frame):
Restore debugging checks that Vframe_list is non-nil,
as FOR_EACH_FRAME no longer has these checks.
(delete_frame): Remove no-longer-needed checks that Vframe_list is
non-nil, as FOR_EACH_FRAME no longer assumes that.
* src/frame.h (FOR_EACH_FRAME): Do not assume Vframe_list is non-nil.
src/frame.c
src/frame.h