1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00

* src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n'

to the string converted from number with `Fnumber_to_string'.

Fixes: debbugs:14254
This commit is contained in:
Juri Linkov 2013-05-07 23:49:46 +03:00
parent 2b66427ded
commit a261c53eae
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2013-05-07 Juri Linkov <juri@jurta.org>
* callint.c (Fcall_interactively): Set `visargs[i]' for code 'n'
to the string converted from number with `Fnumber_to_string'.
(Bug#14254)
2013-05-07 Paul Eggert <eggert@cs.ucla.edu>
* xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.

View File

@ -688,6 +688,9 @@ invoke it. If KEYS is omitted or nil, the return value of
goto have_prefix_arg;
case 'n': /* Read number from minibuffer. */
args[i] = call1 (Qread_number, callint_message);
/* Passing args[i] directly stimulates compiler bug. */
teml = args[i];
visargs[i] = Fnumber_to_string (teml);
break;
case 'P': /* Prefix arg in raw form. Does no I/O. */