Something like (defun funcname (a b &optional c (d 0)) ... ) with the keywords &optional and &rest. Additionally a strong check for trigger functions that must have a defined number of parameters.
Log in to post a comment.