diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-01-29 02:03:55 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-01-29 02:03:55 +0000 |
commit | 0237d897f69afea78cca68c3d36b34818d8209ac (patch) | |
tree | d40428d63145354b000bc525f6e661e28b1ec12a /src/buffer.c | |
parent | 0fef40c0990d6f24d290f08f0ed112e28b3ecc0b (diff) | |
download | emacs-0237d897f69afea78cca68c3d36b34818d8209ac.tar.gz |
(kill-all-local-variables): follow symbol forwarding.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 93c707ba8d1..f69007c9d96 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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. */ |