Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e15f58f8
Commit
e15f58f8
authored
Aug 28, 2009
by
Juri Linkov
Browse files
(magic-fallback-mode-alist): Add ZIP magic number
associated with `archive-mode'.
parent
890617cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lisp/files.el
lisp/files.el
+1
-0
No files found.
lisp/files.el
View file @
e15f58f8
...
...
@@ -2402,6 +2402,7 @@ If FUNCTION is nil, then it is not called. (That is a way of saying
(defvar magic-fallback-mode-alist
`((image-type-auto-detected-p . image-mode)
("\\(PK00\\)?[P]K\003\004" . archive-mode) ; zip
;; The < comes before the groups (but the first) to reduce backtracking.
;; TODO: UTF-16 <?xml may be preceded by a BOM 0xff 0xfe or 0xfe 0xff.
;; We use [ \t\r\n] instead of `\\s ' to make regex overflow less likely.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment