summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 3d54058c04c..5faaafd150a 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2288,7 +2288,7 @@ specbind (symbol, value)
specpdl_ptr->func = 0;
specpdl_ptr->old_value = ovalue = find_symbol_value (symbol);
specpdl_ptr++;
- if (BUFFER_OBJFWDP (ovalue) || DISPLAY_OBJFWDP (ovalue))
+ if (BUFFER_OBJFWDP (ovalue) || KBOARD_OBJFWDP (ovalue))
store_symval_forwarding (symbol, ovalue, value);
else
Fset (symbol, value);