]> git.eshelyaron.com Git - emacs.git/commit
Fix compilation of closures with nontrivial doc strings
authorMattias Engdegård <mattiase@acm.org>
Mon, 22 Feb 2021 10:37:29 +0000 (11:37 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 22 Feb 2021 10:46:04 +0000 (11:46 +0100)
commit88a02e4c89b1ff6047f13602bb8486706e3adeb4
tree4ab760c6bc6b5942bd84d39a3c339c0da7c98f1a
parent0fb6f05bcb179e2f5332776c59b1503f625059b9
Fix compilation of closures with nontrivial doc strings

* lisp/emacs-lisp/bytecomp.el (byte-compile-make-closure):
Use the supplied doc string if it's a literal; fall back to the old
slow way of building a closure otherwise.
lisp/emacs-lisp/bytecomp.el