Polish docstring for set-company-backend!

This commit is contained in:
Henrik Lissner 2018-08-06 20:19:25 +02:00
parent 4ab1bbbdba
commit eaaf6751d3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -19,12 +19,16 @@ If the car of BACKENDS is nil, unset the backends for MODES.
Examples: Examples:
(set-company-backend! 'js2-mode 'company-tide 'company-yasnippet) (set-company-backend! 'js2-mode
'company-tide 'company-yasnippet)
(set-company-backend! 'sh-mode (set-company-backend! 'sh-mode
'(company-shell :with company-yasnippet)) '(company-shell :with company-yasnippet))
(set-company-backend! 'js2-mode
(set-company-backend! '(c-mode c++-mode)
'(:separate company-irony-c-headers company-irony)) '(:separate company-irony-c-headers company-irony))
(set-company-backend! 'sh-mode nil)
(set-company-backend! 'sh-mode nil) ; unsets backends for sh-mode
To have BACKENDS apply to any mode that is a parent of MODES, set MODES to To have BACKENDS apply to any mode that is a parent of MODES, set MODES to
:derived, e.g. :derived, e.g.