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
bc41dd5a
Commit
bc41dd5a
authored
Feb 16, 2001
by
Gerd Moellmann
Browse files
(set_window_buffer): Set window's vscroll to 0.
parent
11570a8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/window.c
src/window.c
+2
-2
No files found.
src/window.c
View file @
bc41dd5a
...
...
@@ -2626,8 +2626,8 @@ set_window_buffer (window, buffer, run_hooks_p)
XSETFASTINT (w->window_end_vpos, 0);
bzero (&w->last_cursor, sizeof w->last_cursor);
w->window_end_valid = Qnil;
XSETFASTINT (w->hscroll,
0);
XSETFASTINT (w->min_hscroll,
0);
w->hscroll = w->min_height = make_number (
0);
w->vscroll = make_number (
0);
set_marker_both (w->pointm, buffer, BUF_PT (b), BUF_PT_BYTE (b));
set_marker_restricted (w->start,
make_number (b->last_window_start),
...
...
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