• Stefan Monnier's avatar
    Add cl-struct specific optimizations to pcase. · d7d72624
    Stefan Monnier authored
    * lisp/emacs-lisp/cl-macs.el (cl--struct-all-parents)
    (cl--pcase-mutually-exclusive-p): New functions.
    (pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns.
    
    * lisp/emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string.
    d7d72624
cl-macs.el 126 KB