help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

global-company-mode and company-mode


From: wilnerthomas
Subject: global-company-mode and company-mode
Date: Tue, 2 Aug 2022 12:26:34 +0200 (CEST)

I do not understand how to enable `company-mode'.  Because there is 
(company-mode 1)
and `(add-hook 'after-init-hook 'global-company-mode)'.

What is the difference between the two.  Why 'after-init-hook is used, cannot 
there just be
(global-company-mode 1)?

When using `add-hook', how would I disable `global-company-mode' later?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]