# HG changeset patch # User Gerd Moellmann # Date 937167716 0 # Node ID fe4146e7baf9751464fd4480edcc1860e5e50f6f # Parent a9f38bb7f815a094a2d072b6173f5abb6cdad4bc (Fforward_word): Use prompt_end_charpos instead of minibuffer_prompt_length. diff -r a9f38bb7f815 -r fe4146e7baf9 src/syntax.c --- a/src/syntax.c Sun Sep 12 20:21:55 1999 +0000 +++ b/src/syntax.c Sun Sep 12 20:21:56 1999 +0000 @@ -1239,8 +1239,8 @@ /* If in a mini-buffer and moving backwards, stop at the end of the prompt. This prevents accidentially moving into the read-only prompt. */ - if (INTEGERP (current_buffer->minibuffer_prompt_length) - && (prompt_end = XINT (current_buffer->minibuffer_prompt_length), + if (INTEGERP (current_buffer->prompt_end_charpos) + && (prompt_end = XINT (current_buffer->prompt_end_charpos), ((PT > prompt_end && val < prompt_end) || (PT < prompt_end && val > prompt_end)))) val = prompt_end;