Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
abf4a9f7
Commit
abf4a9f7
authored
Sep 12, 1999
by
Gerd Moellmann
Browse files
(Fforward_word): Use prompt_end_charpos instead
of minibuffer_prompt_length.
parent
1e3f16d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/syntax.c
src/syntax.c
+2
-2
No files found.
src/syntax.c
View file @
abf4a9f7
...
...
@@ -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_
l
en
gth
)
&&
(
prompt_end
=
XINT
(
current_buffer
->
minibuffer_
prompt_
l
en
gth
),
if
(
INTEGERP
(
current_buffer
->
prompt_en
d_charpos
)
&&
(
prompt_end
=
XINT
(
current_buffer
->
prompt_en
d_charpos
),
((
PT
>
prompt_end
&&
val
<
prompt_end
)
||
(
PT
<
prompt_end
&&
val
>
prompt_end
))))
val
=
prompt_end
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment