summaryrefslogtreecommitdiff
path: root/src/callint.c
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2013-05-07 23:49:46 +0300
committerJuri Linkov <juri@jurta.org>2013-05-07 23:49:46 +0300
commita261c53eaefb9f2d0a5e9175827b12ddefddbb7f (patch)
tree67f7a1f5f432499285fb01ff7339ca46a189e30e /src/callint.c
parent2b66427dedba115445a06e1b9097a253222377f4 (diff)
downloademacs-a261c53eaefb9f2d0a5e9175827b12ddefddbb7f.tar.gz
emacs-a261c53eaefb9f2d0a5e9175827b12ddefddbb7f.tar.bz2
emacs-a261c53eaefb9f2d0a5e9175827b12ddefddbb7f.zip
* src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n'
to the string converted from number with `Fnumber_to_string'. Fixes: debbugs:14254
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c3
1 files changed, 3 insertions, 0 deletions
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. */