• Noam Postavsky's avatar
    Define struct predicate before acccesors · e4ac4507
    Noam Postavsky authored
    The accessor functions use the predicate function, which causes problems
    when reloading after unload-feature: the compiler-macro property is
    still present on the predicate symbol, and the compiler fails to find
    the definition when trying to inline it into the accessor
    function (Bug#25088).
    
    * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Move predicate definition
    before field accessor definitions.
    e4ac4507
cl-macs.el 127 KB