mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
docs/api: fix inline command in map! example
This commit is contained in:
@ -293,7 +293,7 @@ Or to create aliases for functions that behave differently:
|
|||||||
|
|
||||||
(:when IS-MAC
|
(:when IS-MAC
|
||||||
:n "M-s" 'some-fn
|
: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
|
(map! (:when (featurep! :completion company) ; Conditional loading
|
||||||
:i "C-@" #'+company/complete
|
:i "C-@" #'+company/complete
|
||||||
|
Reference in New Issue
Block a user