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
2aa46d6c
Commit
2aa46d6c
authored
Mar 14, 2011
by
Chong Yidong
Browse files
* src/buffer.c (Fmake_indirect_buffer): Fix incorrect assertion.
parent
70436396
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/buffer.c
src/buffer.c
+2
-2
No files found.
src/ChangeLog
View file @
2aa46d6c
2011-03-14 Chong Yidong <cyd@stupidchicken.com>
* buffer.c (Fmake_indirect_buffer): Fix incorrect assertion.
2011-03-13 Chong Yidong <cyd@stupidchicken.com>
* buffer.h (BUF_BEGV, BUF_BEGV_BYTE, BUF_ZV, BUF_ZV_BYTE, BUF_PT)
src/buffer.c
View file @
2aa46d6c
...
...
@@ -611,8 +611,8 @@ CLONE nil means the indirect buffer's state is reset to default values. */)
/* Make sure the base buffer has markers for its narrowing. */
if
(
NILP
(
BVAR
(
b
->
base_buffer
,
pt_marker
)))
{
eassert
(
NILP
(
BVAR
(
b
,
begv_marker
)));
eassert
(
NILP
(
BVAR
(
b
,
zv_marker
)));
eassert
(
NILP
(
BVAR
(
b
->
base_buffer
,
begv_marker
)));
eassert
(
NILP
(
BVAR
(
b
->
base_buffer
,
zv_marker
)));
BVAR
(
b
->
base_buffer
,
pt_marker
)
=
Fmake_marker
();
set_marker_both
(
BVAR
(
b
->
base_buffer
,
pt_marker
),
base_buffer
,
...
...
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