# HG changeset patch # User Karl Heuer # Date 759809035 0 # Node ID 3b4bb6d2c922e5090756fce498f95c81a552b026 # Parent 4a3125e60737ba54829f7eb9afeb9bcf8d506398 (kill-all-local-variables): follow symbol forwarding. diff -r 4a3125e60737 -r 3b4bb6d2c922 src/buffer.c --- a/src/buffer.c Sat Jan 29 01:27:32 1994 +0000 +++ b/src/buffer.c Sat Jan 29 02:03:55 1994 +0000 @@ -1212,7 +1212,8 @@ it is currently set up for. This is so that, if the local is marked permanent, and we make it local again below, we don't lose the value. */ - XCONS (XCONS (tem)->car)->cdr = XCONS (XSYMBOL (sym)->value)->car; + XCONS (XCONS (tem)->car)->cdr = + do_symval_forwarding (XCONS (XSYMBOL (sym)->value)->car); /* Switch to the symbol's default-value alist entry. */ XCONS (tem)->car = tem; /* Mark it as current for the current buffer. */