branch: scratch/editorconfig-cc commit 08f55b212b317fab2af3d2f7938d6a6889d9bf48 Author: Damien Cassou <dam...@cassou.me> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
Fix typos (#212) Typos found with codespell. --- doc/editorconfig.texi | 2 +- editorconfig.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/editorconfig.texi b/doc/editorconfig.texi index 9c83613e20..2fd8d5c3aa 100644 --- a/doc/editorconfig.texi +++ b/doc/editorconfig.texi @@ -96,7 +96,7 @@ implementing missing features warmly welcomed! Typically, you will want to tie these to native functionality, or the configuration of existing packages handling the feature. -As several packages have their own handling of, say, indention, we might +As several packages have their own handling of, say, indentation, we might not yet cover some mode you use, but we try to add the ones that show up on our radar. Similarly, we don't yet hook in to all different packages for whitespace trimming to inform them about editorconfig settings, but diff --git a/editorconfig.el b/editorconfig.el index 5f73bad10b..5a02d58214 100644 --- a/editorconfig.el +++ b/editorconfig.el @@ -422,7 +422,7 @@ FILETYPE should be s string like `\"ini\"`, if not nil or empty string." Normally `editorconfig-apply' will be hooked so that it runs when changing `major-mode', so there is a possibility that MODE is called infinitely if MODE is called naively from inside of `editorconfig-apply'. -This funcion will avoid such cases and set `major-mode' safely. +This function will avoid such cases and set `major-mode' safely. Just checking current `major-mode' value is not enough, because it can be different from MODE value (for example, `conf-mode' will set `major-mode' to