If a setting is function call that else if true call a hardcoded default
(defuncallSettingFunc (&rest t) (when f (let ((f (if (functionp f) ; check if its a valid function name. f 'message))) ; use built in message function if not set to a function name (apply f t))))
No comments:
Post a Comment