nim-lang / nim-mode

An emacs major mode for the Nim programming language
138 stars 46 forks source link

Make completion-at-point-functions as local hook #191

Closed cipharius closed 6 years ago

cipharius commented 6 years ago

Keep global completion-at-point-functions hook clean, as it is generic hook used by many modes.

Other modes like lisp-interaction-mode and python-mode seem to keep this convention as well.

Just noticed that this is part of major mode conventions: https://www.gnu.org/software/emacs/manual/html_node/elisp/Major-Mode-Conventions.html#Major-Mode-Conventions

yuutayamada commented 6 years ago

Thanks!