Mercurial > emacs
changeset 25659:fe4146e7baf9
(Fforward_word): Use prompt_end_charpos instead
of minibuffer_prompt_length.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 12 Sep 1999 20:21:56 +0000 |
parents | a9f38bb7f815 |
children | 0072098f54df |
files | src/syntax.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;