docs/api: fix inline command in map! example

This commit is contained in:
Henrik Lissner 2020-07-28 15:50:25 -04:00
parent 1a6f508640
commit 2e1775c472
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -293,7 +293,7 @@ Or to create aliases for functions that behave differently:
(:when IS-MAC
:n "M-s" 'some-fn
:i "M-o" (lambda (interactive) (message "Hi"))))
:i "M-o" (cmd! (message "Hi"))))
(map! (:when (featurep! :completion company) ; Conditional loading
:i "C-@" #'+company/complete