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:
parent
2464ea7303
commit
7e6595dbf4
1 changed files with 1 additions and 1 deletions
2
third_party/lisp/mime4cl/mime.lisp
vendored
2
third_party/lisp/mime4cl/mime.lisp
vendored
|
@ -979,7 +979,7 @@ is a string."))
|
|||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defmethod find-mime-text-part (msg)
|
||||
(defgeneric find-mime-text-part (msg)
|
||||
(:documentation
|
||||
"Return message if it is a text message or first text part.
|
||||
If no suitable text part is found, return NIL."))
|
||||
|
|
Loading…
Reference in a new issue