changeset 7347:3a677a303d5b

Use PT, not point.
author Karl Heuer <kwzh@gnu.org>
date Fri, 06 May 1994 01:00:15 +0000
parents 777404b1718d
children 99b9c9068761
files src/window.c
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Fri May 06 00:59:24 1994 +0000
+++ b/src/window.c	Fri May 06 01:00:15 1994 +0000
@@ -197,7 +197,7 @@
   int hscroll;
 
   if (NILP (pos))
-    posint = point;
+    posint = PT;
   else
     {
       CHECK_NUMBER_COERCE_MARKER (pos, 0);
@@ -1361,7 +1361,7 @@
   window_loop (DELETE_OTHER_WINDOWS, window, 0, WINDOW_FRAME (w));
 
   Fset_buffer (w->buffer);
-  opoint = point;
+  opoint = PT;
   SET_PT (marker_position (w->start));
   /* Like Frecenter but avoid setting w->force_start.  */
   Fvertical_motion (make_number (- (top - FRAME_MENU_BAR_LINES (XFRAME (WINDOW_FRAME (w))))),
@@ -2196,28 +2196,28 @@
      int noerror;
 {
   register struct window *w = XWINDOW (window);
-  register int opoint = point;
+  register int opoint = PT;
   register int pos;
   register int ht = window_internal_height (w);
   register Lisp_Object tem;
   int lose;
   Lisp_Object bolp, nmoved;
 
-  XFASTINT (tem) = point;
+  XFASTINT (tem) = PT;
   tem = Fpos_visible_in_window_p (tem, window);
 
   if (NILP (tem))
     {
       Fvertical_motion (make_number (- (ht / 2)), window);
-      XFASTINT (tem) = point;
+      XFASTINT (tem) = PT;
       Fset_marker (w->start, tem, w->buffer);
       w->force_start = Qt;
     }
 
   SET_PT (marker_position (w->start));
-  lose = n < 0 && point == BEGV;
+  lose = n < 0 && PT == BEGV;
   Fvertical_motion (make_number (n), window);
-  pos = point;
+  pos = PT;
   bolp = Fbolp ();
   SET_PT (opoint);
 
@@ -2241,7 +2241,7 @@
 	{
 	  SET_PT (pos);
 	  tem = Fvertical_motion (make_number (ht), window);
-	  if (point > opoint || XFASTINT (tem) < ht)
+	  if (PT > opoint || XFASTINT (tem) < ht)
 	    SET_PT (opoint);
 	  else
 	    Fvertical_motion (make_number (-1), window);
@@ -2384,7 +2384,7 @@
       window_scroll (window, XINT (n), 1);
     }
 
-  Fset_marker (w->pointm, make_number (point), Qnil);
+  Fset_marker (w->pointm, make_number (PT), Qnil);
   unbind_to (count, Qnil);
 
   return Qnil;
@@ -2436,7 +2436,7 @@
 {
   register struct window *w = XWINDOW (selected_window);
   register int ht = window_internal_height (w);
-  register int opoint = point;
+  register int opoint = PT;
   Lisp_Object window;
 
   if (NILP (n))
@@ -2463,7 +2463,7 @@
 
   XSET (window, Lisp_Window, w);
   Fvertical_motion (n, window);
-  Fset_marker (w->start, make_number (point), w->buffer);
+  Fset_marker (w->start, make_number (PT), w->buffer);
   w->start_at_line_beg = Fbolp ();
 
   SET_PT (opoint);
@@ -2500,7 +2500,7 @@
   if (start < BEGV || start > ZV)
     {
       Fvertical_motion (make_number (- (height / 2)), window);
-      Fset_marker (w->start, make_number (point), w->buffer);
+      Fset_marker (w->start, make_number (PT), w->buffer);
       w->start_at_line_beg = Fbolp ();
       w->force_start = Qt;
     }