Eval: (require 'cl) (defmacro* xyz ((&optional keymap)) "KEYMAP is not keymap") Now try viewing the doc-string using C-h f xyz RET which should look similar to: