I installed package from M-x package-list-packages
and want to disable this package without uninstalling.
UPDATE With (setq package-load-list '((company nil)))
I have in *Packages*
buffer:
company 0.9.3 disabled Modular text completion framework
but completion dialog still appear.
I have
(defun my-company-prog-mode-setup ()
(setq-local company-dabbrev-code-other-buffers 'code)
(setq-local company-backends '((company-capf company-dabbrev-code company-files)))
(company-mode 1))
(when (featurep 'company)
(add-hook 'prog-mode-hook #'my-company-prog-mode-setup))