diff options
| author | Joakim Verona | 2012-01-23 15:10:06 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-01-23 15:10:06 +0100 |
| commit | 0322b140eead7c94de7f0f6d19a90bd15690b4eb (patch) | |
| tree | 950c011783cc896d0450084cb5155e54548bfe5b /lisp/international | |
| parent | d5114bfea3ea4c37c57e2af0f3b095be9fcd8bac (diff) | |
| parent | cb5850f27c1b4d26957d58e2da2314dd12498671 (diff) | |
| download | emacs-0322b140eead7c94de7f0f6d19a90bd15690b4eb.tar.gz emacs-0322b140eead7c94de7f0f6d19a90bd15690b4eb.zip | |
upstream
Diffstat (limited to 'lisp/international')
| -rw-r--r-- | lisp/international/mule-cmds.el | 5 | ||||
| -rw-r--r-- | lisp/international/mule.el | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index cbe548c2ccf..378cbc9badd 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -418,7 +418,10 @@ To prefer, for instance, utf-8, say the following: | |||
| 418 | (if (memq eol-type '(0 1 2)) | 418 | (if (memq eol-type '(0 1 2)) |
| 419 | (setq base | 419 | (setq base |
| 420 | (coding-system-change-eol-conversion base eol-type))) | 420 | (coding-system-change-eol-conversion base eol-type))) |
| 421 | (set-default-coding-systems base))) | 421 | (set-default-coding-systems base) |
| 422 | (if (called-interactively-p 'interactive) | ||
| 423 | (or (eq base default-file-name-coding-system) | ||
| 424 | (message "The default value of `file-name-coding-system' was not changed because the specified coding system is not suitable for file names."))))) | ||
| 422 | 425 | ||
| 423 | (defvar sort-coding-systems-predicate nil | 426 | (defvar sort-coding-systems-predicate nil |
| 424 | "If non-nil, a predicate function to sort coding systems. | 427 | "If non-nil, a predicate function to sort coding systems. |
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 17163071d3f..d4dd4e4cf24 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -1668,6 +1668,7 @@ in-place." | |||
| 1668 | 1668 | ||
| 1669 | ;;; FILE I/O | 1669 | ;;; FILE I/O |
| 1670 | 1670 | ||
| 1671 | ;; TODO many elements of this list are also in inhibit-local-variables-regexps. | ||
| 1671 | (defcustom auto-coding-alist | 1672 | (defcustom auto-coding-alist |
| 1672 | ;; .exe and .EXE are added to support archive-mode looking at DOS | 1673 | ;; .exe and .EXE are added to support archive-mode looking at DOS |
| 1673 | ;; self-extracting exe archives. | 1674 | ;; self-extracting exe archives. |
| @@ -1677,7 +1678,7 @@ arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|7z\\|\ | |||
| 1677 | ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|7Z\\)\\'" | 1678 | ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|7Z\\)\\'" |
| 1678 | . no-conversion-multibyte) | 1679 | . no-conversion-multibyte) |
| 1679 | ("\\.\\(exe\\|EXE\\)\\'" . no-conversion) | 1680 | ("\\.\\(exe\\|EXE\\)\\'" . no-conversion) |
| 1680 | ("\\.\\(sx[dmicw]\\|odt\\|tar\\|tgz\\)\\'" . no-conversion) | 1681 | ("\\.\\(sx[dmicw]\\|odt\\|tar\\|t[bg]z\\)\\'" . no-conversion) |
| 1681 | ("\\.\\(gz\\|Z\\|bz\\|bz2\\|xz\\|gpg\\)\\'" . no-conversion) | 1682 | ("\\.\\(gz\\|Z\\|bz\\|bz2\\|xz\\|gpg\\)\\'" . no-conversion) |
| 1682 | ("\\.\\(jpe?g\\|png\\|gif\\|tiff?\\|p[bpgn]m\\)\\'" . no-conversion) | 1683 | ("\\.\\(jpe?g\\|png\\|gif\\|tiff?\\|p[bpgn]m\\)\\'" . no-conversion) |
| 1683 | ("\\.pdf\\'" . no-conversion) | 1684 | ("\\.pdf\\'" . no-conversion) |