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
15874c59
Commit
15874c59
authored
Mar 22, 1995
by
Karl Heuer
Browse files
(direct_output_forward_char): Don't use direct output at an overlay boundary.
parent
64c947d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/dispnew.c
src/dispnew.c
+6
-1
No files found.
src/dispnew.c
View file @
15874c59
...
...
@@ -1143,11 +1143,16 @@ direct_output_forward_char (n)
&&
(
FRAME_CURSOR_X
(
frame
)
+
1
>=
window_internal_width
(
w
)
-
1
))
||
cursor_in_echo_area
)
return
0
;
/* Can't use direct output if highlighting a region. */
if
(
!
NILP
(
Vtransient_mark_mode
)
&&
!
NILP
(
current_buffer
->
mark_active
))
return
0
;
/* Can't use direct output at an overlay boundary; it might have
before-string or after-string properties. */
if
(
overlay_touches_p
(
PT
)
||
overlay_touches_p
(
PT
-
n
))
return
0
;
#ifdef USE_TEXT_PROPERTIES
/* Don't use direct output next to an invisible character
since we might need to do something special. */
...
...
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