Function: erc-compat--with-memoization
erc-compat--with-memoization is a macro defined in erc-compat.el.gz.
Signature
(erc-compat--with-memoization TABLE &rest FORMS)
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-compat.el.gz
;;;; Misc 29.1
(defmacro erc-compat--with-memoization (table &rest forms)
(declare (indent defun))
(cond
((fboundp 'with-memoization)
`(with-memoization ,table ,@forms)) ; 29.1
((fboundp 'cl--generic-with-memoization)
`(cl--generic-with-memoization ,table ,@forms))
(t `(progn ,@forms))))