Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a927f5c9
Commit
a927f5c9
authored
Oct 14, 1993
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fdelete_overlay, Foverlay_put): Use marker_position,
not OVERLAY_POSITION, to get args for redisplay_region.
parent
9fb6ed08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/buffer.c
src/buffer.c
+4
-4
No files found.
src/buffer.c
View file @
a927f5c9
...
...
@@ -1682,8 +1682,8 @@ DEFUN ("delete-overlay", Fdelete_overlay, Sdelete_overlay, 1, 1, 0,
b
->
overlays_after
=
Fdelq
(
overlay
,
b
->
overlays_after
);
redisplay_region
(
b
,
OVERLAY_POSITION
(
OVERLAY_START
(
overlay
)),
OVERLAY_POSITION
(
OVERLAY_END
(
overlay
)));
marker_position
(
OVERLAY_START
(
overlay
)),
marker_position
(
OVERLAY_END
(
overlay
)));
Fset_marker
(
OVERLAY_START
(
overlay
),
Qnil
,
Qnil
);
Fset_marker
(
OVERLAY_END
(
overlay
),
Qnil
,
Qnil
);
...
...
@@ -1866,8 +1866,8 @@ DEFUN ("overlay-put", Foverlay_put, Soverlay_put, 3, 3, 0,
CHECK_OVERLAY
(
overlay
,
0
);
redisplay_region
(
XMARKER
(
OVERLAY_START
(
overlay
))
->
buffer
,
OVERLAY_POSITION
(
OVERLAY_START
(
overlay
)),
OVERLAY_POSITION
(
OVERLAY_END
(
overlay
)));
marker_position
(
OVERLAY_START
(
overlay
)),
marker_position
(
OVERLAY_END
(
overlay
)));
plist
=
Fcdr_safe
(
XCONS
(
overlay
)
->
cdr
);
...
...
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