]> git.eshelyaron.com Git - emacs.git/commitdiff
; If Invalid function: with-memoization error introduced in 3c972723
authorTassilo Horn <tsdh@gnu.org>
Fri, 1 Oct 2021 19:15:51 +0000 (21:15 +0200)
committerTassilo Horn <tsdh@gnu.org>
Fri, 1 Oct 2021 19:15:51 +0000 (21:15 +0200)
lisp/emacs-lisp/cl-generic.el

index 20516130645eb4b275071f7e6ad2e0206d9841e9..a2bcad2d3aaf5993d3abac4e4f0086947e36e4e7 100644 (file)
@@ -636,6 +636,7 @@ The set of acceptable TYPEs (also called \"specializers\") is defined
       ;; overkill: better just use a `cl-typep' test.
       (byte-compile
        `(lambda (generic dispatches-left methods)
+          (eval-when-compile (require 'subr-x))
           (let ((method-cache (make-hash-table :test #'eql)))
             (lambda (,@fixedargs &rest args)
               (let ,bindings