mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
(auto-coding-alist): Remove redundant
up-cased versions of the extensions (auto-coding-alist-lookup is case-insensitive where needed). Recognize .gz, .Z, .bz, .bz2, and .gpg files as binary. Suggested by Karl Berry <karl@gnu.org>.
This commit is contained in:
parent
39cf43ac2d
commit
4f16d1d139
@ -1225,7 +1225,7 @@ ARG is a list of coding categories ordered by priority."
|
|||||||
|
|
||||||
(defcustom auto-coding-alist
|
(defcustom auto-coding-alist
|
||||||
'(("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\|tar\\|tgz\\)\\'" . no-conversion)
|
'(("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\|tar\\|tgz\\)\\'" . no-conversion)
|
||||||
("\\.\\(ARC\\|ZIP\\|LZH\\|ZOO\\|JAR\\|TAR\\|TGZ\\)\\'" . no-conversion))
|
("\\.\\(gz\\|Z\\|bz\\|bz2\\|gpg\\)\\'" . no-conversion))
|
||||||
"Alist of filename patterns vs corresponding coding systems.
|
"Alist of filename patterns vs corresponding coding systems.
|
||||||
Each element looks like (REGEXP . CODING-SYSTEM).
|
Each element looks like (REGEXP . CODING-SYSTEM).
|
||||||
A file whose name matches REGEXP is decoded by CODING-SYSTEM on reading.
|
A file whose name matches REGEXP is decoded by CODING-SYSTEM on reading.
|
||||||
|
Loading…
Reference in New Issue
Block a user