From: Gerd Moellmann Date: Sun, 12 Sep 1999 20:21:56 +0000 (+0000) Subject: (Fforward_word): Use prompt_end_charpos instead X-Git-Tag: emacs-pretest-21.0.90~6783 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=abf4a9f7e0a6ac633660d95004ac2a0407a82c02;p=emacs.git (Fforward_word): Use prompt_end_charpos instead of minibuffer_prompt_length. --- diff --git a/src/syntax.c b/src/syntax.c index 5b5eb341678..d1830462726 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1239,8 +1239,8 @@ and nil is returned.") /* 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;