summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c
index 2ddff0fa818..a4836ace68c 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2706,7 +2706,8 @@ If dialog boxes are supported, a dialog box will be used
if `last-nonmenu-event' is nil, and `use-dialog-box' is non-nil. */)
(Lisp_Object prompt)
{
- register Lisp_Object ans;
+ USE_LOCAL_ALLOCA;
+ Lisp_Object ans;
struct gcpro gcpro1;
CHECK_STRING (prompt);
@@ -3996,7 +3997,7 @@ maybe_resize_hash_table (struct Lisp_Hash_Table *h)
if (HASH_TABLE_P (Vpurify_flag)
&& XHASH_TABLE (Vpurify_flag) == h)
Fmessage (2, ((Lisp_Object [])
- { build_local_string ("Growing hash table to: %d"),
+ { build_string ("Growing hash table to: %d"),
make_number (new_size) }));
#endif