• Andrea Corallo's avatar
    Fix lambda-list relocation class · 4681f330
    Andrea Corallo authored
    Lambda-lists must stay in the same relocation class of the object
    referenced by code to respect uninterned symbols.
    
    	* lisp/emacs-lisp/comp.el (comp-prepare-args-for-top-level): Break
    	the original function in a generic specializing for
    	dynamic/lexical functions.  When allocating the lambda-list for
    	dynamic functions do that in the default relocation class.
    	(comp-emit-for-top-level): Make use of the new
    	`comp-prepare-args-for-top-level'.
    	(comp-emit-lambda-for-top-level): Likewise.
    4681f330
comp.el 112 KB