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
76046526
Commit
76046526
authored
Jul 04, 2012
by
Dmitry Antipov
Browse files
* buffer.c (Fgenerate_new_buffer_name): Fix type mismatch.
parent
30eabd7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/buffer.c
src/buffer.c
+1
-1
No files found.
src/ChangeLog
View file @
76046526
2012-07-04 Dmitry Antipov <dmantipov@yandex.ru>
* buffer.c (Fgenerate_new_buffer_name): Fix type mismatch.
2012-07-04 Paul Eggert <eggert@cs.ucla.edu>
* regex.c: Suppress GCC warning on RHEL 6. (Bug#11207)
...
...
src/buffer.c
View file @
76046526
...
...
@@ -859,7 +859,7 @@ is first appended to NAME, to speed up finding a non-existent buffer. */)
if (!strncmp (SSDATA (name), " ", 1)) /* see bug#1229 */
{
/* Note fileio.c:make_temp_name does random differently. */
sprintf (number, "-%"pD"d", Frandom (make_number (999999)));
sprintf (number, "-%"pD"d",
XFASTINT (
Frandom (make_number (999999)))
)
;
tem2 = concat2 (name, build_string (number));
tem = Fget_buffer (tem2);
if (NILP (tem))
...
...
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