Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ea064aa0
Commit
ea064aa0
authored
Oct 04, 1995
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fmake_indirect_buffer): Was taking marker positions
from current buffer, which is irrelevant.
parent
318ab851
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/buffer.c
src/buffer.c
+7
-3
No files found.
src/buffer.c
View file @
ea064aa0
...
...
@@ -420,9 +420,13 @@ NAME should be a string which is not the name of an existing buffer.")
}
/* Give the indirect buffer markers for its narrowing. */
b
->
pt_marker
=
Fpoint_marker
();
b
->
begv_marker
=
Fpoint_min_marker
();
b
->
zv_marker
=
Fpoint_max_marker
();
b
->
pt_marker
=
Fmake_marker
();
Fset_marker
(
b
->
pt_marker
,
make_number
(
BUF_PT
(
b
)),
buf
);
b
->
begv_marker
=
Fmake_marker
();
Fset_marker
(
b
->
begv_marker
,
make_number
(
BUF_BEGV
(
b
)),
buf
);
b
->
zv_marker
=
Fmake_marker
();
Fset_marker
(
b
->
zv_marker
,
make_number
(
BUF_ZV
(
b
)),
buf
);
XMARKER
(
b
->
zv_marker
)
->
insertion_type
=
1
;
return
buf
;
...
...
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