[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r112504: * src/callint.c (Fcall_inter
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r112504: * src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n' |
Date: |
Tue, 07 May 2013 23:49:46 +0300 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 112504
fixes bug: http://debbugs.gnu.org/14254
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Tue 2013-05-07 23:49:46 +0300
message:
* src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n'
to the string converted from number with `Fnumber_to_string'.
modified:
src/ChangeLog
src/callint.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-05-07 19:25:42 +0000
+++ b/src/ChangeLog 2013-05-07 20:49:46 +0000
@@ -1,3 +1,9 @@
+2013-05-07 Juri Linkov <address@hidden>
+
+ * 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 <address@hidden>
* xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.
=== modified file 'src/callint.c'
--- a/src/callint.c 2013-05-07 13:54:31 +0000
+++ b/src/callint.c 2013-05-07 20:49:46 +0000
@@ -688,6 +688,9 @@
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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r112504: * src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n',
Juri Linkov <=