changeset 6826:903d03ddf99c

(specbind): Use find_symbol_value.
author Richard M. Stallman <rms@gnu.org>
date Tue, 12 Apr 1994 06:26:29 +0000
parents f70a517ae9e2
children 2fade2496b79
files src/eval.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c	Tue Apr 12 06:06:21 1994 +0000
+++ b/src/eval.c	Tue Apr 12 06:26:29 1994 +0000
@@ -2263,8 +2263,7 @@
     grow_specpdl ();
   specpdl_ptr->symbol = symbol;
   specpdl_ptr->func = 0;
-  ovalue = XSYMBOL (symbol)->value;
-  specpdl_ptr->old_value = EQ (ovalue, Qunbound) ? Qunbound : Fsymbol_value (symbol);
+  specpdl_ptr->old_value = ovalue = find_symbol_value (symbol);
   specpdl_ptr++;
   if (XTYPE (ovalue) == Lisp_Buffer_Objfwd)
     store_symval_forwarding (symbol, ovalue, value);