changeset 969:16649ee21625

* term.c (FRAME_IS_TERMCAP, FRAME_IS_X, FRAME_HAS_MINIBUF): Renamed these to FRAME_TERMCAP_P, FRAME_X_P, and FRAME_HAS_MINIBUF_P, for consistency with the rest of the frame macros.
author Jim Blandy <jimb@redhat.com>
date Wed, 12 Aug 1992 14:18:28 +0000
parents 861714452cb3
children 47f6041d85e6
files src/term.c
diffstat 1 files changed, 19 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Wed Aug 12 14:16:14 1992 +0000
+++ b/src/term.c	Wed Aug 12 14:18:28 1992 +0000
@@ -203,7 +203,7 @@
 
 ring_bell ()
 {
-  if (! FRAME_IS_TERMCAP (selected_frame))
+  if (! FRAME_TERMCAP_P (selected_frame))
     {
       (*ring_bell_hook) ();
       return;
@@ -213,7 +213,7 @@
 
 set_terminal_modes ()
 {
-  if (! FRAME_IS_TERMCAP (selected_frame))
+  if (! FRAME_TERMCAP_P (selected_frame))
     {
       (*set_terminal_modes_hook) ();
       return;
@@ -226,7 +226,7 @@
 
 reset_terminal_modes ()
 {
-  if (! FRAME_IS_TERMCAP (selected_frame))
+  if (! FRAME_TERMCAP_P (selected_frame))
     {
       (*reset_terminal_modes_hook) ();
       return;
@@ -249,14 +249,14 @@
      FRAME_PTR f;
 {
   updating_frame = f;
-  if (! FRAME_IS_TERMCAP (updating_frame))
+  if (! FRAME_TERMCAP_P (updating_frame))
     (*update_begin_hook) (f);
 }
 
 update_end (f)
      FRAME_PTR f;
 {
-  if (! FRAME_IS_TERMCAP (updating_frame))
+  if (! FRAME_TERMCAP_P (updating_frame))
     {
       (*update_end_hook) (f);
       updating_frame = 0;
@@ -271,7 +271,7 @@
 set_terminal_window (size)
      int size;
 {
-  if (! FRAME_IS_TERMCAP (updating_frame))
+  if (! FRAME_TERMCAP_P (updating_frame))
     {
       (*set_terminal_window_hook) (size);
       return;
@@ -406,7 +406,7 @@
      int highlight;
      int vpos;
 {
-  if (! FRAME_IS_TERMCAP ((updating_frame ? updating_frame : selected_frame)))
+  if (! FRAME_TERMCAP_P ((updating_frame ? updating_frame : selected_frame)))
     {
       (*reassert_line_highlight_hook) (highlight, vpos);
       return;
@@ -427,7 +427,7 @@
      int new_highlight, vpos, first_unused_hpos;
 {
   standout_requested = new_highlight;
-  if (! FRAME_IS_TERMCAP (updating_frame))
+  if (! FRAME_TERMCAP_P (updating_frame))
     {
       (*change_line_highlight_hook) (new_highlight, vpos, first_unused_hpos);
       return;
@@ -462,7 +462,7 @@
 cursor_to (row, col)
      int row, col;
 {
-  if (! FRAME_IS_TERMCAP ((updating_frame
+  if (! FRAME_TERMCAP_P ((updating_frame
 			    ? updating_frame
 			    : selected_frame))
       && cursor_to_hook)
@@ -486,7 +486,7 @@
 raw_cursor_to (row, col)
      int row, col;
 {
-  if (! FRAME_IS_TERMCAP ((updating_frame ? updating_frame : selected_frame)))
+  if (! FRAME_TERMCAP_P ((updating_frame ? updating_frame : selected_frame)))
     {
       (*raw_cursor_to_hook) (row, col);
       return;
@@ -507,7 +507,7 @@
 {
   register int i;
 
-  if (clear_to_end_hook && FRAME_IS_TERMCAP (updating_frame))
+  if (clear_to_end_hook && FRAME_TERMCAP_P (updating_frame))
     {
       (*clear_to_end_hook) ();
       return;
@@ -533,7 +533,7 @@
 clear_frame ()
 {
   if (clear_frame_hook
-      && ! FRAME_IS_TERMCAP ((updating_frame ? updating_frame : selected_frame)))
+      && ! FRAME_TERMCAP_P ((updating_frame ? updating_frame : selected_frame)))
     {
       (*clear_frame_hook) ();
       return;
@@ -563,7 +563,7 @@
      int first_unused_hpos;
 {
   static GLYPH buf[1] = {SPACEGLYPH};
-  if (FRAME_IS_TERMCAP (selected_frame)
+  if (FRAME_TERMCAP_P (selected_frame)
       && TN_standout_width == 0 && curX == 0 && chars_wasted[curY] != 0)
     write_glyphs (buf, 1);
   clear_end_of_line_raw (first_unused_hpos);
@@ -581,7 +581,7 @@
   register int i;
 
   if (clear_end_of_line_hook
-      && ! FRAME_IS_TERMCAP ((updating_frame
+      && ! FRAME_TERMCAP_P ((updating_frame
 			       ? updating_frame
 			       : selected_frame)))
     {
@@ -629,7 +629,7 @@
   register Lisp_Object *tbase = GLYPH_TABLE_BASE;
 
   if (write_glyphs_hook
-      && ! FRAME_IS_TERMCAP ((updating_frame ? updating_frame : selected_frame)))
+      && ! FRAME_TERMCAP_P ((updating_frame ? updating_frame : selected_frame)))
     {
       (*write_glyphs_hook) (string, len);
       return;
@@ -696,7 +696,7 @@
   register int tlen = GLYPH_TABLE_LENGTH;
   register Lisp_Object *tbase = GLYPH_TABLE_BASE;
 
-  if (insert_glyphs_hook && ! FRAME_IS_TERMCAP (updating_frame))
+  if (insert_glyphs_hook && ! FRAME_TERMCAP_P (updating_frame))
     {
       (*insert_glyphs_hook) (start, len);
       return;
@@ -751,7 +751,7 @@
   char *buf;
   register int i;
 
-  if (delete_glyphs_hook && ! FRAME_IS_TERMCAP (updating_frame))
+  if (delete_glyphs_hook && ! FRAME_TERMCAP_P (updating_frame))
     {
       (*delete_glyphs_hook) (n);
       return;
@@ -792,7 +792,7 @@
   register int i = n > 0 ? n : -n;
   register char *buf;
 
-  if (ins_del_lines_hook && ! FRAME_IS_TERMCAP (updating_frame))
+  if (ins_del_lines_hook && ! FRAME_TERMCAP_P (updating_frame))
     {
       (*ins_del_lines_hook) (vpos, n);
       return;
@@ -996,7 +996,7 @@
     return;
 
 #ifdef HAVE_X_WINDOWS
-  if (FRAME_IS_X (frame))
+  if (FRAME_X_P (frame))
     {
       do_line_insertion_deletion_costs (frame, 0, ".5*", 0, ".5*",
 					0, 0, x_screen_planes);