fix(3p/lisp/mime4cl): correctly define find-mime-text-part

The generic function itself needs to be defined using defgeneric,
defmethod is used for a defining method of a generic function, i.e. how
it should behave when confronted with a certain class.

Change-Id: Idd38afa02b56c5002e215decfff7f0c25267eab5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8532
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2023-04-09 16:29:10 +02:00 committed by clbot
parent 2464ea7303
commit 7e6595dbf4

View file

@ -979,7 +979,7 @@ is a string."))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defmethod find-mime-text-part (msg) (defgeneric find-mime-text-part (msg)
(:documentation (:documentation
"Return message if it is a text message or first text part. "Return message if it is a text message or first text part.
If no suitable text part is found, return NIL.")) If no suitable text part is found, return NIL."))