]> git.eshelyaron.com Git - emacs.git/commit
Bind cross-buffer buffer-local variable correctly.
authorAlan Mackenzie <acm@muc.de>
Thu, 11 Jan 2024 17:54:47 +0000 (17:54 +0000)
committerEshel Yaron <me@eshelyaron.com>
Thu, 11 Jan 2024 19:39:56 +0000 (20:39 +0100)
commit302ccb6728bb5828213e4b00b912bf5affb96849
treef6bc5e91e1d0adc59aa000032e3e1ebbd496c9e5
parentd97d566f5dd13807591de4e763665314526b90f5
Bind cross-buffer buffer-local variable correctly.

This fixes bug#68200.

* lisp/emacs-lisp/bytecomp.el (byte-compile-output-docform):
Note that let-binding a buffer local variable leaves it buffer
local, hence to transfer the binding of
byte-compile-dynamic-docstrings to the output buffer, an
intermediate variable is needed.  Implement this.

(cherry picked from commit 07bb8dc0afaef5ec7a7e194df42cc019ce8604d4)
lisp/emacs-lisp/bytecomp.el