]> git.eshelyaron.com Git - emacs.git/commit
Remove support for `editorconfig-exclude-*`
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 17 Jun 2024 15:02:34 +0000 (11:02 -0400)
committerEshel Yaron <me@eshelyaron.com>
Fri, 21 Jun 2024 18:59:47 +0000 (20:59 +0200)
commitd237293e52933cbae1e847176002c7cdd63c8fea
treec027f34b24e03bc0b2051d21ad61ce1ebdc85f6e
parentedf24a0263ce13b7d99da40ab497cc559bf76ce2
Remove support for `editorconfig-exclude-*`

When using the new hook, we can't support `editorconfig-exclude-modes` for
the `charset` property.  Also there are already other ways to get
similar effects (e.g. setting `auto-coding-alist` or
`enable-dir-local-variables`), so it's not clear those configurations
will be needed in Emacs-30.

* lisp/editorconfig.el (editorconfig-exclude-modes)
(editorconfig-exclude-regexps): Remove custom vars.
(recentf): Remove workaround (presumably not needed thanks to the fix
to issue #246).
(editorconfig--disabled-for-filename)
(editorconfig--disabled-for-majormode): Delete functions.
(editorconfig--advice-find-file-noselect): Remove call to those functions.
(editorconfig-mode): Adjust docstring accordingly.

* lisp/editorconfig-tools.el (editorconfig-apply): Adjust accordingly.

(cherry picked from commit c5d86db81173100bd0303cfb2066b1a0319c2caa)
lisp/editorconfig-tools.el
lisp/editorconfig.el