mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix max-lisp-eval-depth in :company-backend #115
Mode was inadvertantly run like a function in the :company-backend setting macro.
This commit is contained in:
@ -8,9 +8,9 @@
|
||||
(mapconcat #'symbol-name modes "-")))))
|
||||
`(prog1
|
||||
(defun ,def-name ()
|
||||
(when (memq major-mode ,modes)
|
||||
(when (memq major-mode ',modes)
|
||||
(require 'company)
|
||||
(cl-pushnew ,backends company-backends :test #'equal)))
|
||||
(cl-pushnew ',backends company-backends :test #'equal)))
|
||||
(add-hook! ,modes #',def-name))))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user