summaryrefslogtreecommitdiff
path: root/src/cmds.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-09-11 01:12:39 +0000
committerRichard M. Stallman <rms@gnu.org>1999-09-11 01:12:39 +0000
commit36d4e33f181fe975c4737d68a3890d5d14d0b565 (patch)
treef14a1abd88750f73e1c63b2b3cb2caf3c0fbcd80 /src/cmds.c
parent80e6b0cb7dd81101a719c78c9a890b376dcbf4ba (diff)
downloademacs-36d4e33f181fe975c4737d68a3890d5d14d0b565.tar.gz
(Fbeginning_of_line): Don't handle minibuffer prompt here.
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 64e7eaca4f2..3e688afa995 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -163,13 +163,7 @@ If scan reaches end of buffer, stop there without error.")
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 @@ If scan reaches end of buffer, stop there without error.")
(n)
Lisp_Object n;
{
- register int pos;
- register int stop;
-
if (NILP (n))
XSETFASTINT (n, 1);
else