summaryrefslogtreecommitdiff
path: root/src/cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 9c2f83dc054..64e7eaca4f2 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -163,7 +163,6 @@ If scan reaches end of buffer, stop there without error.")
else
CHECK_NUMBER (n, 0);
-#if !NO_PROMPT_IN_BUFFER
{
int pos = XFASTINT (Fline_beginning_position (n));
if (INTEGERP (current_buffer->minibuffer_prompt_length)
@@ -171,9 +170,7 @@ If scan reaches end of buffer, stop there without error.")
pos = XFASTINT (current_buffer->minibuffer_prompt_length);
SET_PT (pos);
}
-#else
- SET_PT (XINT (Fline_beginning_position (n)));
-#endif
+
return Qnil;
}