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
3834380d
Commit
3834380d
authored
Sep 24, 2003
by
Kim F. Storm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(set_window_buffer): Fix redisplay problems when
switching between buffers with different display margin widths.
parent
fbe57420
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/window.c
src/window.c
+6
-0
No files found.
src/window.c
View file @
3834380d
...
...
@@ -2853,6 +2853,9 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p)
/* This may call adjust_window_margins three times, so
temporarily disable window margins. */
Lisp_Object
save_left
=
w
->
left_margin_cols
;
Lisp_Object
save_right
=
w
->
right_margin_cols
;
w
->
left_margin_cols
=
w
->
right_margin_cols
=
Qnil
;
Fset_window_fringes
(
window
,
...
...
@@ -2863,6 +2866,9 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p)
b
->
scroll_bar_width
,
b
->
vertical_scroll_bar_type
,
Qnil
);
w
->
left_margin_cols
=
save_left
;
w
->
right_margin_cols
=
save_right
;
Fset_window_margins
(
window
,
b
->
left_margin_cols
,
b
->
right_margin_cols
);
}
...
...
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