diff options
| author | Eli Zaretskii | 2006-03-11 11:42:58 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-03-11 11:42:58 +0000 |
| commit | d50404042199ace4ac03dfce6912825d56aa570c (patch) | |
| tree | f0d071a5d0177731440750f9d3d14f3827271834 | |
| parent | 20c65d08634a204bcf34b6ba29336f8223d15395 (diff) | |
| download | emacs-d50404042199ace4ac03dfce6912825d56aa570c.tar.gz emacs-d50404042199ace4ac03dfce6912825d56aa570c.zip | |
(auto-mode-alist): Add .odt (OpenOffice's open document) files. Mention in
the doc string the need to sync with auto-coding-alist.
| -rw-r--r-- | lisp/files.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el index 91a434dd33f..c093a5222b2 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -1872,7 +1872,7 @@ in that case, this function acts as if `enable-local-variables' were t." | |||
| 1872 | ;; `auto-coding-alist' with `no-conversion' coding system. | 1872 | ;; `auto-coding-alist' with `no-conversion' coding system. |
| 1873 | ("\\.\\(arc\\|zip\\|lzh\\|zoo\\|[jew]ar\\|xpi\\)\\'" . archive-mode) | 1873 | ("\\.\\(arc\\|zip\\|lzh\\|zoo\\|[jew]ar\\|xpi\\)\\'" . archive-mode) |
| 1874 | ("\\.\\(ARC\\|ZIP\\|LZH\\|ZOO\\|[JEW]AR\\|XPI\\)\\'" . archive-mode) | 1874 | ("\\.\\(ARC\\|ZIP\\|LZH\\|ZOO\\|[JEW]AR\\|XPI\\)\\'" . archive-mode) |
| 1875 | ("\\.sx[dmicw]\\'" . archive-mode) ; OpenOffice.org | 1875 | ("\\.\\(sx[dmicw]\\|odt\\)\\'" . archive-mode) ; OpenOffice.org |
| 1876 | ;; Mailer puts message to be edited in | 1876 | ;; Mailer puts message to be edited in |
| 1877 | ;; /tmp/Re.... or Message | 1877 | ;; /tmp/Re.... or Message |
| 1878 | ("\\`/tmp/Re" . text-mode) | 1878 | ("\\`/tmp/Re" . text-mode) |
| @@ -1955,6 +1955,9 @@ REGEXP and search the list again for another match. | |||
| 1955 | If the file name matches `inhibit-first-line-modes-regexps', | 1955 | If the file name matches `inhibit-first-line-modes-regexps', |
| 1956 | then `auto-mode-alist' is not processed. | 1956 | then `auto-mode-alist' is not processed. |
| 1957 | 1957 | ||
| 1958 | The extensions whose FUNCTION is `archive-mode' should also | ||
| 1959 | appear in `auto-coding-alist' with `no-conversion' coding system. | ||
| 1960 | |||
| 1958 | See also `interpreter-mode-alist', which detects executable script modes | 1961 | See also `interpreter-mode-alist', which detects executable script modes |
| 1959 | based on the interpreters they specify to run, | 1962 | based on the interpreters they specify to run, |
| 1960 | and `magic-mode-alist', which determines modes based on file contents.") | 1963 | and `magic-mode-alist', which determines modes based on file contents.") |