Pages

Sunday, September 19, 2010

If a setting is function call that else if true call a hardcoded default

(defun callSettingFunc (&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))))





--
My Emacs Files At GitHub

No comments:

Post a Comment