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
a9800ae8
Commit
a9800ae8
authored
Aug 17, 2000
by
Dave Love
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fget_buffer_create, Fmake_indirect_buffer): Avoid
INITIALIZE_INTERVAL.
parent
bb4fee02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/buffer.c
src/buffer.c
+3
-2
No files found.
src/buffer.c
View file @
a9800ae8
...
...
@@ -385,7 +385,7 @@ The value is never nil.")
b
->
zv_marker
=
Qnil
;
name
=
Fcopy_sequence
(
name
);
INITIALIZE_INTERVAL
(
XSTRING
(
name
)
,
NULL_INTERVAL
)
;
XSTRING
(
name
)
->
intervals
=
NULL_INTERVAL
;
b
->
name
=
name
;
if
(
XSTRING
(
name
)
->
data
[
0
]
!=
' '
)
...
...
@@ -501,7 +501,7 @@ CLONE nil means the indirect buffer's state is reset to default values.")
all_buffers
=
b
;
name
=
Fcopy_sequence
(
name
);
INITIALIZE_INTERVAL
(
XSTRING
(
name
)
,
NULL_INTERVAL
)
;
XSTRING
(
name
)
->
intervals
=
NULL_INTERVAL
;
b
->
name
=
name
;
reset_buffer
(
b
);
...
...
@@ -3517,6 +3517,7 @@ DEFUN ("overlays-at", Foverlays_at, Soverlays_at, 1, 1, 0,
CHECK_NUMBER_COERCE_MARKER
(
pos
,
0
);
len
=
10
;
/* We can't use alloca here because overlays_at can call xrealloc. */
overlay_vec
=
(
Lisp_Object
*
)
xmalloc
(
len
*
sizeof
(
Lisp_Object
));
/* Put all the overlays we want in a vector in overlay_vec.
...
...
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