]> git.eshelyaron.com Git - emacs.git/commitdiff
(kill-all-local-variables): follow symbol forwarding.
authorKarl Heuer <kwzh@gnu.org>
Sat, 29 Jan 1994 02:03:55 +0000 (02:03 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sat, 29 Jan 1994 02:03:55 +0000 (02:03 +0000)
src/buffer.c

index 93c707ba8d12fbba4393f5f55a8cf0060efe7f5d..f69007c9d9612ec7dca42a59788cbe70ea80ff4a 100644 (file)
@@ -1212,7 +1212,8 @@ a non-nil `permanent-local' property are not eliminated by this function.")
             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.  */