mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Don't apply EditorConfig files to themselves
* lisp/international/mule.el (auto-coding-alist): Add entry for `.editorconfig` files.
This commit is contained in:
parent
4cc42911ed
commit
b852555401
1 changed files with 5 additions and 1 deletions
|
|
@ -1769,6 +1769,10 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|7Z\\|SQUASHFS\\)\\'"
|
|||
("\\.\\(gz\\|Z\\|bz\\|bz2\\|xz\\|gpg\\)\\'" . no-conversion)
|
||||
("\\.\\(jpe?g\\|png\\|gif\\|tiff?\\|p[bpgn]m\\)\\'" . no-conversion)
|
||||
("\\.pdf\\'" . no-conversion)
|
||||
;; https://spec.editorconfig.org/ says:
|
||||
;; EditorConfig files must be UTF-8 encoded,
|
||||
;; with LF or CRLF line separators.
|
||||
("/\\.editorconfig\\'" . utf-8-undecided)
|
||||
("/#[^/]+#\\'" . utf-8-emacs-unix))
|
||||
"Alist of filename patterns vs corresponding coding systems.
|
||||
Each element looks like (REGEXP . CODING-SYSTEM).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue