changeset 3086:e414a29f8dc8

(Fforward_comment): Always set point.
author Richard M. Stallman <rms@gnu.org>
date Tue, 25 May 1993 18:45:25 +0000
parents cb714ea94b61
children ea0cb469490e
files src/syntax.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c	Tue May 25 18:07:11 1993 +0000
+++ b/src/syntax.c	Tue May 25 18:45:25 1993 +0000
@@ -612,6 +612,7 @@
 		  if (from == stop)
 		    {
 		      immediate_quit = 0;
+		      SET_PT (from);
 		      return Qnil;
 		    }
 		  c = FETCH_CHAR (from);
@@ -636,6 +637,7 @@
 	  else if (code != Swhitespace)
 	    {
 	      immediate_quit = 0;
+	      SET_PT (from);
 	      return Qnil;
 	    }
 	}
@@ -685,6 +687,7 @@
 		      if (from == stop)
 			{
 			  immediate_quit = 0;
+			  SET_PT (from);
 			  return Qnil;
 			}
 		      from--;
@@ -808,6 +811,7 @@
 	  else if (code != Swhitespace || quoted)
 	    {
 	      immediate_quit = 0;
+	      SET_PT (from);
 	      return Qnil;
 	    }
 	}