I have some code that takes as an argument a function:
(defun message-name (fn)
)
I would like to be able to, if the function has a name, message it. For example, if called this way:
(message-name #'get-buffer)
I would like this code to message The function's name is get-buffer
:
(defun message-name (fn)
(message "The function's name is %s."
(????? fn)))