]> git.eshelyaron.com Git - emacs.git/commit
cl-generic: Rework obsolescence checks for defmethod
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 1 Apr 2022 14:02:32 +0000 (10:02 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 1 Apr 2022 14:02:32 +0000 (10:02 -0400)
commit6cb688684065ca74b14263fcc22036cededa2bbe
treeebf2606b01bc9d33d9542d71622710bbca3f88b2
parent2b564f504bbf7c050355840b40a9897f12ed91f9
cl-generic: Rework obsolescence checks for defmethod

* lisp/emacs-lisp/cl-generic.el (cl-defgeneric): Silence obsolescence
warnings in the included methods.
(cl-defmethod): Reuse standard obsolescence checks.

* lisp/emacs-lisp/seq.el (seq-contains): Remove redundant
`with-suppressed-warnings`.
lisp/emacs-lisp/cl-generic.el
lisp/emacs-lisp/seq.el