From abf4a9f7e0a6ac633660d95004ac2a0407a82c02 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sun, 12 Sep 1999 20:21:56 +0000 Subject: [PATCH] (Fforward_word): Use prompt_end_charpos instead of minibuffer_prompt_length. --- src/syntax.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5