We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d57915 commit b3d03bfCopy full SHA for b3d03bf
lisp/init-company.el
@@ -188,6 +188,14 @@
188
'(:with company-yasnippet))))
189
(setq company-backends (mapcar #'company-mode/backend-with-yas company-backends))
190
191
+ ;; Add `company-elisp' backend for elisp,
192
+ (add-hook 'emacs-lisp-mode-hook
193
+ (lambda ()
194
+ (require 'company-elisp)
195
+ (unless (memq 'company-elisp company-backends)
196
+ (push 'company-elisp company-backends))))
197
+
198
199
;; set the backends for writing in text related mode
200
(defun my-company-backends-text-mode-hook ()
201
(setq-local company-backends '(
0 commit comments