summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/hierarchy.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2022-05-18 09:18:15 +0000
committerAlan Mackenzie <acm@muc.de>2022-05-18 09:18:15 +0000
commit7969e41654b2b5c628c290deb938699a95e85fec (patch)
tree2235fb38dec67718d1431ca961695970b1c538f2 /lisp/emacs-lisp/hierarchy.el
parente1c972b2479cbd9780224620b52731a2447fa612 (diff)
downloademacs-7969e41654b2b5c628c290deb938699a95e85fec.tar.gz
emacs-7969e41654b2b5c628c290deb938699a95e85fec.tar.bz2
emacs-7969e41654b2b5c628c290deb938699a95e85fec.zip
Fix M-x compile-defun when an interactive form is (list ...)
This is for when lexical-binding is nil. The problem fixed was M-x compile-defun leaving symbols with position in the compiled function's arglist and interactive form. This fixes bug #55323. Also ensure the doc string is correctly stripped when lexical-binding is t. * lisp/emacs-lisp/bytecomp.el (byte-compile-lambda): For a (list ...) interactive form when lexical-binding is nil, strip the positions from the symbols in the form. Also strip the position from the symbols in the arglist. (byte-compile-make-closure): (Twice) strip symbols from positions in the doc string expression. Add comments.
Diffstat (limited to 'lisp/emacs-lisp/hierarchy.el')
0 files changed, 0 insertions, 0 deletions