aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorPaul Eggert2011-08-04 19:15:35 -0700
committerPaul Eggert2011-08-04 19:15:35 -0700
commit0065d05491ce5981ea20896bb26d21dcd31e6769 (patch)
tree13240167319d4a99ab5eacae4a883258eb2d28de /src/eval.c
parent18ab493650d648ab8dca651ea2698861f926e895 (diff)
downloademacs-0065d05491ce5981ea20896bb26d21dcd31e6769.tar.gz
emacs-0065d05491ce5981ea20896bb26d21dcd31e6769.zip
Adjust in response to jan.h.d's comments.
See, for example <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9196#26>.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index bcb77574fee..94039b31e17 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3288,8 +3288,7 @@ grow_specpdl (void)
3288 signal_error ("Variable binding depth exceeds max-specpdl-size", Qnil); 3288 signal_error ("Variable binding depth exceeds max-specpdl-size", Qnil);
3289 } 3289 }
3290 size = specpdl_size < max_size / 2 ? 2 * specpdl_size : max_size; 3290 size = specpdl_size < max_size / 2 ? 2 * specpdl_size : max_size;
3291 specpdl = ((struct specbinding *) 3291 specpdl = xnrealloc (specpdl, size, sizeof *specpdl);
3292 xrealloc (specpdl, size * sizeof (struct specbinding)));
3293 specpdl_size = size; 3292 specpdl_size = size;
3294 specpdl_ptr = specpdl + count; 3293 specpdl_ptr = specpdl + count;
3295} 3294}