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
73cadfc1
Commit
73cadfc1
authored
Dec 19, 2002
by
David Kastrup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fset_window_configuration): Set old_point to correct
value when new_current_buffer == current_buffer.
parent
1a590729
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/window.c
src/window.c
+6
-1
No files found.
src/window.c
View file @
73cadfc1
...
...
@@ -4980,7 +4980,12 @@ the return value is nil. Otherwise the value is t. */)
if (NILP (XBUFFER (new_current_buffer)->name))
new_current_buffer = Qnil;
else
old_point = BUF_PT (XBUFFER (new_current_buffer));
{
if (XBUFFER (new_current_buffer) == current_buffer)
old_point = PT;
else
old_point = BUF_PT (XBUFFER (new_current_buffer));
}
frame = XWINDOW (SAVED_WINDOW_N (saved_windows, 0)->window)->frame;
f = XFRAME (frame);
...
...
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