Given your goals, the best way to clear the warnings is to declare the variables in the function definition.
Code: Select all
(defun some-special-function ()
(declare (special *special-variable*))
(do-something-with *special-variable*))
Code: Select all
(defun some-special-function ()
(declare (special *special-variable*))
(do-something-with *special-variable*))