Change some add-to-list calls to add-hook calls
This commit is contained in:
2
init.el
2
init.el
@ -1830,7 +1830,7 @@ otherwise, call `bibtex-find-text'."
|
||||
:hook (sh-mode . my/-setup-sh-mode)
|
||||
:init
|
||||
(defun my/-setup-sh-mode ()
|
||||
(add-to-list 'completion-at-point-functions #'cape-file)))
|
||||
(add-hook 'completion-at-point-functions #'cape-file nil t)))
|
||||
|
||||
;; go mode
|
||||
(use-package go-mode
|
||||
|
Reference in New Issue
Block a user