aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
authorJoakim Verona2012-09-10 16:03:53 +0200
committerJoakim Verona2012-09-10 16:03:53 +0200
commitb035a30e5cd2f34fedc04c253eeb5a11afed8145 (patch)
treeb9350cce389602f4967bdc1beed745929155ad5d /src/frame.c
parent4a37733c693d59a9b83a3fb2d0c7f9461d149f60 (diff)
parenta31a4cdacb196cc96dcb9bd229edb1d635e01344 (diff)
downloademacs-b035a30e5cd2f34fedc04c253eeb5a11afed8145.tar.gz
emacs-b035a30e5cd2f34fedc04c253eeb5a11afed8145.zip
upstream
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/frame.c b/src/frame.c
index 968cb4905a2..9b12842bf89 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -214,7 +214,7 @@ See also `frame-live-p'. */)
214 case output_ns: 214 case output_ns:
215 return Qns; 215 return Qns;
216 default: 216 default:
217 abort (); 217 emacs_abort ();
218 } 218 }
219} 219}
220 220
@@ -620,7 +620,7 @@ affects all frames on the same terminal device. */)
620#ifdef MSDOS 620#ifdef MSDOS
621 if (sf->output_method != output_msdos_raw 621 if (sf->output_method != output_msdos_raw
622 && sf->output_method != output_termcap) 622 && sf->output_method != output_termcap)
623 abort (); 623 emacs_abort ();
624#else /* not MSDOS */ 624#else /* not MSDOS */
625 625
626#ifdef WINDOWSNT /* This should work now! */ 626#ifdef WINDOWSNT /* This should work now! */
@@ -767,7 +767,7 @@ do_switch_frame (Lisp_Object frame, int track, int for_deletion, Lisp_Object nor
767 Lisp_Object focus; 767 Lisp_Object focus;
768 768
769 if (!FRAMEP (XCAR (tail))) 769 if (!FRAMEP (XCAR (tail)))
770 abort (); 770 emacs_abort ();
771 771
772 focus = FRAME_FOCUS_FRAME (XFRAME (XCAR (tail))); 772 focus = FRAME_FOCUS_FRAME (XFRAME (XCAR (tail)));
773 773
@@ -897,7 +897,7 @@ next_frame (Lisp_Object frame, Lisp_Object minibuf)
897 897
898 /* There must always be at least one frame in Vframe_list. */ 898 /* There must always be at least one frame in Vframe_list. */
899 if (! CONSP (Vframe_list)) 899 if (! CONSP (Vframe_list))
900 abort (); 900 emacs_abort ();
901 901
902 /* If this frame is dead, it won't be in Vframe_list, and we'll loop 902 /* If this frame is dead, it won't be in Vframe_list, and we'll loop
903 forever. Forestall that. */ 903 forever. Forestall that. */
@@ -975,7 +975,7 @@ prev_frame (Lisp_Object frame, Lisp_Object minibuf)
975 975
976 /* There must always be at least one frame in Vframe_list. */ 976 /* There must always be at least one frame in Vframe_list. */
977 if (! CONSP (Vframe_list)) 977 if (! CONSP (Vframe_list))
978 abort (); 978 emacs_abort ();
979 979
980 prev = Qnil; 980 prev = Qnil;
981 for (tail = Vframe_list; CONSP (tail); tail = XCDR (tail)) 981 for (tail = Vframe_list; CONSP (tail); tail = XCDR (tail))
@@ -984,7 +984,7 @@ prev_frame (Lisp_Object frame, Lisp_Object minibuf)
984 984
985 f = XCAR (tail); 985 f = XCAR (tail);
986 if (!FRAMEP (f)) 986 if (!FRAMEP (f))
987 abort (); 987 emacs_abort ();
988 988
989 if (EQ (frame, f) && !NILP (prev)) 989 if (EQ (frame, f) && !NILP (prev))
990 return prev; 990 return prev;
@@ -1385,7 +1385,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force)
1385 1385
1386 this = XCAR (frames); 1386 this = XCAR (frames);
1387 if (!FRAMEP (this)) 1387 if (!FRAMEP (this))
1388 abort (); 1388 emacs_abort ();
1389 f1 = XFRAME (this); 1389 f1 = XFRAME (this);
1390 1390
1391 if (kb == FRAME_KBOARD (f1)) 1391 if (kb == FRAME_KBOARD (f1))
@@ -1421,7 +1421,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force)
1421 1421
1422 this = XCAR (frames); 1422 this = XCAR (frames);
1423 if (!FRAMEP (this)) 1423 if (!FRAMEP (this))
1424 abort (); 1424 emacs_abort ();
1425 f1 = XFRAME (this); 1425 f1 = XFRAME (this);
1426 1426
1427 /* Consider only frames on the same kboard 1427 /* Consider only frames on the same kboard
@@ -1447,7 +1447,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force)
1447 that is prohibited at the top; you can't delete surrogate 1447 that is prohibited at the top; you can't delete surrogate
1448 minibuffer frames. */ 1448 minibuffer frames. */
1449 if (NILP (frame_with_minibuf)) 1449 if (NILP (frame_with_minibuf))
1450 abort (); 1450 emacs_abort ();
1451 1451
1452 kset_default_minibuffer_frame (kb, frame_with_minibuf); 1452 kset_default_minibuffer_frame (kb, frame_with_minibuf);
1453 } 1453 }
@@ -2108,7 +2108,7 @@ store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val)
2108 swap_in_global_binding (sym); 2108 swap_in_global_binding (sym);
2109 break; 2109 break;
2110 } 2110 }
2111 default: abort (); 2111 default: emacs_abort ();
2112 } 2112 }
2113 } 2113 }
2114 2114
@@ -3835,7 +3835,7 @@ x_get_arg (Display_Info *dpyinfo, Lisp_Object alist, Lisp_Object param,
3835 } 3835 }
3836 3836
3837 default: 3837 default:
3838 abort (); 3838 emacs_abort ();
3839 } 3839 }
3840 } 3840 }
3841 else 3841 else