From: Juri Linkov Date: Tue, 7 May 2013 20:49:46 +0000 (+0300) Subject: * src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n' X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~258 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a261c53eaefb9f2d0a5e9175827b12ddefddbb7f;p=emacs.git * src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n' to the string converted from number with `Fnumber_to_string'. Fixes: debbugs:14254 --- diff --git a/src/ChangeLog b/src/ChangeLog index 4c64f14d6a7..e2cde630333 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2013-05-07 Juri Linkov + + * 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 * xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4. diff --git a/src/callint.c b/src/callint.c index d9bdc8d9ffe..0651b68dc05 100644 --- a/src/callint.c +++ b/src/callint.c @@ -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. */