diff --git a/README.org b/README.org index 4b025c4..9186fb0 100644 --- a/README.org +++ b/README.org @@ -1658,15 +1658,15 @@ configures =company= after ensuring the =company= installation. (when (ensure-package-installation 'company) ;; https://github.com/purcell/emacs.d/issues/778 (setopt company-transformers '(company-sort-by-occurrence)) - (dolist (hook '(LaTeX-mode-hook - org-mode-hook - emacs-lisp-mode-hook - lisp-interaction-mode-hook - lisp-mode-hook - python-mode-hook - ielm-mode-hook - sly-mrepl-mode-hook)) - (add-hook hook #'company-mode))) + (dolist (symbol '(LaTeX-mode-hook + org-mode-hook + emacs-lisp-mode-hook + lisp-interaction-mode-hook + lisp-mode-hook + python-mode-hook + ielm-mode-hook + sly-mrepl-mode-hook)) + (add-hook symbol #'company-mode))) #+end_src * [[info:emacs#Search][Search and replace (info)]]