comparison src/insdel.c @ 25648:a48ea135fed4

(del_range_1): Don't treat minibuffer prompt specially.
author Richard M. Stallman <rms@gnu.org>
date Sun, 12 Sep 1999 17:29:24 +0000
parents 5662c18836ae
children 0a7261c1d487
comparison
equal deleted inserted replaced
25647:947cb0e32a1d 25648:a48ea135fed4
2081 void 2081 void
2082 del_range_1 (from, to, prepare) 2082 del_range_1 (from, to, prepare)
2083 int from, to, prepare; 2083 int from, to, prepare;
2084 { 2084 {
2085 int from_byte, to_byte; 2085 int from_byte, to_byte;
2086
2087 if (INTEGERP (current_buffer->minibuffer_prompt_length))
2088 {
2089 /* Don't delete part of a mini-buffer prompt. */
2090 int len = XFASTINT (current_buffer->minibuffer_prompt_length);
2091 from = max (from, len);
2092 }
2093 2086
2094 /* Make args be valid */ 2087 /* Make args be valid */
2095 if (from < BEGV) 2088 if (from < BEGV)
2096 from = BEGV; 2089 from = BEGV;
2097 if (to > ZV) 2090 if (to > ZV)