diff options
author | Jim Blandy <jimb@redhat.com> | 1993-03-18 22:50:00 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1993-03-18 22:50:00 +0000 |
commit | 35f56f9681229c3173e7f168f2c15e2bc6ceef5d (patch) | |
tree | c4922edb0e48d9a9d1fbc7622f195889dc16b15f /src/frame.h | |
parent | 9789a4beb3a652523587ab1f86d49ea138f7856a (diff) | |
download | emacs-35f56f9681229c3173e7f168f2c15e2bc6ceef5d.tar.gz |
* frame.h (FOR_EACH_FRAME): Change the definition so that
FRAME_VAR is a lisp object.
* dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change):
Adjusted appropriately.
* xdisp.c (redisplay): Adjusted appropriately.
* dispnew.c (Fredraw_frame): Give this appropriate definitions for
MULTI_FRAME and non-MULTI_FRAME configurations.
(Fredraw_display): Give this a non-MULTI_FRAME-dependent definition.
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/frame.h b/src/frame.h index 914d2ffba10..0f7ac736545 100644 --- a/src/frame.h +++ b/src/frame.h @@ -317,9 +317,9 @@ typedef struct frame *FRAME_PTR; /* FOR_EACH_FRAME (LIST_VAR, FRAME_VAR) followed by a statement is a `for' loop which iterates over the elements of Vframe_list. The - loop will set FRAME_VAR, a FRAME_PTR, to each frame in + loop will set FRAME_VAR, a Lisp_Object, to each frame in Vframe_list in succession and execute the statement. LIST_VAR - should be a Lisp_Object; it is used to iterate through the + should be a Lisp_Object too; it is used to iterate through the Vframe_list. If MULTI_FRAME isn't defined, then this loop expands to something which @@ -327,7 +327,7 @@ typedef struct frame *FRAME_PTR; #define FOR_EACH_FRAME(list_var, frame_var) \ for ((list_var) = Vframe_list; \ (CONSP (list_var) \ - && (frame_var = XFRAME (XCONS (list_var)->car), 1)); \ + && (frame_var = XCONS (list_var)->car, 1)); \ list_var = XCONS (list_var)->cdr) @@ -412,16 +412,16 @@ extern int last_nonminibuf_frame; /* FOR_EACH_FRAME (LIST_VAR, FRAME_VAR) followed by a statement is a `for' loop which iterates over the elements of Vframe_list. The - loop will set FRAME_VAR, a FRAME_PTR, to each frame in + loop will set FRAME_VAR, a Lisp_Object, to each frame in Vframe_list in succession and execute the statement. LIST_VAR - should be a Lisp_Object; it is used to iterate through the + should be a Lisp_Object too; it is used to iterate through the Vframe_list. If MULTI_FRAME _is_ defined, then this loop expands to a real `for' loop which traverses Vframe_list using LIST_VAR and FRAME_VAR. */ #define FOR_EACH_FRAME(list_var, frame_var) \ - for (frame_var = (FRAME_PTR) 1; frame_var; frame_var = (FRAME_PTR) 0) + for (list_var = Qt; frame_var = selected_frame, ! NILP (list_var); list_var = Qnil) #endif /* not MULTI_FRAME */ |