aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmds.c
diff options
context:
space:
mode:
authorGerd Moellmann1999-08-21 19:29:47 +0000
committerGerd Moellmann1999-08-21 19:29:47 +0000
commit4f13cc9959c1a786da94bbb1fef1a633619e3066 (patch)
tree999e06fdda0325331f795750329e8ea5483cfd87 /src/cmds.c
parent32347cf4deb76073e688fe14f0875e0366c981be (diff)
downloademacs-4f13cc9959c1a786da94bbb1fef1a633619e3066.tar.gz
emacs-4f13cc9959c1a786da94bbb1fef1a633619e3066.zip
Remove conditional compilation on NO_PROMPT_IN_BUFFER.
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.")
163 else 163 else
164 CHECK_NUMBER (n, 0); 164 CHECK_NUMBER (n, 0);
165 165
166#if !NO_PROMPT_IN_BUFFER
167 { 166 {
168 int pos = XFASTINT (Fline_beginning_position (n)); 167 int pos = XFASTINT (Fline_beginning_position (n));
169 if (INTEGERP (current_buffer->minibuffer_prompt_length) 168 if (INTEGERP (current_buffer->minibuffer_prompt_length)
@@ -171,9 +170,7 @@ If scan reaches end of buffer, stop there without error.")
171 pos = XFASTINT (current_buffer->minibuffer_prompt_length); 170 pos = XFASTINT (current_buffer->minibuffer_prompt_length);
172 SET_PT (pos); 171 SET_PT (pos);
173 } 172 }
174#else 173
175 SET_PT (XINT (Fline_beginning_position (n)));
176#endif
177 return Qnil; 174 return Qnil;
178} 175}
179 176