Fix incorrect uses of add-to-list
This commit is contained in:
parent
b84946318c
commit
3b85720c9c
6 changed files with 6 additions and 6 deletions
|
@ -78,7 +78,7 @@ MODES should be one major-mode symbol or a list of them."
|
|||
(defun +company|enable-project-dicts (mode &rest _)
|
||||
"Enable per-project dictionaries."
|
||||
(if (symbol-value mode)
|
||||
(add-to-list 'company-dict-minor-mode-list mode #'eq)
|
||||
(add-to-list 'company-dict-minor-mode-list mode nil #'eq)
|
||||
(setq company-dict-minor-mode-list (delq mode company-dict-minor-mode-list))))
|
||||
(add-hook 'doom-project-hook #'+company|enable-project-dicts))
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
ivy-use-selectable-prompt t)
|
||||
|
||||
(after! magit (setq magit-completing-read-function #'ivy-completing-read))
|
||||
(after! yasnippet (add-to-list 'yas-prompt-functions #'+ivy-yas-prompt #'eq))
|
||||
(after! yasnippet (add-to-list 'yas-prompt-functions #'+ivy-yas-prompt nil #'eq))
|
||||
|
||||
(map! [remap switch-to-buffer] #'ivy-switch-buffer
|
||||
[remap persp-switch-to-buffer] #'+ivy/switch-workspace-buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue