Mercurial > emacs
comparison src/insdel.c @ 25351:c7247eabc834
Remove conditional compilation on NO_PROMPT_IN_BUFFER.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sat, 21 Aug 1999 19:29:47 +0000 |
parents | 824b89fca192 |
children | 6e6b29a72e2c |
comparison
equal
deleted
inserted
replaced
25350:f964a1e5b29c | 25351:c7247eabc834 |
---|---|
2050 del_range_1 (from, to, prepare) | 2050 del_range_1 (from, to, prepare) |
2051 int from, to, prepare; | 2051 int from, to, prepare; |
2052 { | 2052 { |
2053 int from_byte, to_byte; | 2053 int from_byte, to_byte; |
2054 | 2054 |
2055 #if !NO_PROMPT_IN_BUFFER | |
2056 if (INTEGERP (current_buffer->minibuffer_prompt_length)) | 2055 if (INTEGERP (current_buffer->minibuffer_prompt_length)) |
2057 { | 2056 { |
2058 /* Don't delete part of a mini-buffer prompt. */ | 2057 /* Don't delete part of a mini-buffer prompt. */ |
2059 int len = XFASTINT (current_buffer->minibuffer_prompt_length); | 2058 int len = XFASTINT (current_buffer->minibuffer_prompt_length); |
2060 from = max (from, len); | 2059 from = max (from, len); |
2061 } | 2060 } |
2062 #endif /* !NO_PROMPT_IN_BUFFER */ | |
2063 | 2061 |
2064 /* Make args be valid */ | 2062 /* Make args be valid */ |
2065 if (from < BEGV) | 2063 if (from < BEGV) |
2066 from = BEGV; | 2064 from = BEGV; |
2067 if (to > ZV) | 2065 if (to > ZV) |