changeset 25632:82ebdf9967da

(Fbeginning_of_line): Don't handle minibuffer prompt here.
author Richard M. Stallman <rms@gnu.org>
date Sat, 11 Sep 1999 01:12:39 +0000
parents 0987f52a0674
children ddf2e1fef00b
files src/cmds.c
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/cmds.c	Sat Sep 11 01:08:15 1999 +0000
+++ b/src/cmds.c	Sat Sep 11 01:12:39 1999 +0000
@@ -163,13 +163,7 @@
   else
     CHECK_NUMBER (n, 0);
 
-  {
-    int pos = XFASTINT (Fline_beginning_position (n));
-    if (INTEGERP (current_buffer->minibuffer_prompt_length)
-	&& pos < XFASTINT (current_buffer->minibuffer_prompt_length))
-      pos = XFASTINT (current_buffer->minibuffer_prompt_length);
-    SET_PT (pos);
-  }
+  SET_PT (XINT (Fline_beginning_position (n)));
   
   return Qnil;
 }
@@ -182,9 +176,6 @@
   (n)
      Lisp_Object n;
 {
-  register int pos;
-  register int stop;
-
   if (NILP (n))
     XSETFASTINT (n, 1);
   else