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
31cd83e9
Commit
31cd83e9
authored
Apr 06, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fget_buffer_create): Disallow empty string.
parent
c1279c7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/buffer.c
src/buffer.c
+3
-0
No files found.
src/buffer.c
View file @
31cd83e9
...
...
@@ -230,6 +230,9 @@ The value is never nil.")
if
(
!
NILP
(
buf
))
return
buf
;
if
(
XSTRING
(
name
)
->
size
==
0
)
error
(
"Empty string for buffer name is not allowed"
);
b
=
(
struct
buffer
*
)
xmalloc
(
sizeof
(
struct
buffer
));
BUF_GAP_SIZE
(
b
)
=
20
;
...
...
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