• Stefan Monnier's avatar
    Get rid of cl-lexical-let, keeping only lexical-let for compatibility. · de7e2b36
    Stefan Monnier authored
    * lisp/emacs-lisp/cl-macs.el: Provide itself.
    (cl--labels-convert-cache): New var.
    (cl--labels-convert): New function.
    (cl-flet, cl-labels): New implementation with new semantics, relying on
    lexical-binding.
    * lisp/emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
    (cl-closure-vars, cl--function-convert-cache)
    (cl--function-convert): Move from cl-macs.el.
    (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
    rename by removing the "cl-" prefix.
    * lisp/emacs-lisp/macroexp.el (macroexp-unprogn): New function.
    de7e2b36
cl-loaddefs.el 41.1 KB