aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-05-02 21:55:01 -0400
committerChong Yidong2010-05-02 21:55:01 -0400
commitf034e1762ba3824627494e479a47189ec62db6d1 (patch)
tree199d189457e10e000af42b0d3aa00f5ab98202c6
parent9978c06c88315dce3071f6c4b284878f34c37c66 (diff)
downloademacs-f034e1762ba3824627494e479a47189ec62db6d1.tar.gz
emacs-f034e1762ba3824627494e479a47189ec62db6d1.zip
Variable purecopying fix (Bug#6083).
* international/mule.el (auto-coding-alist): Only purecopy car or each item, not the whole list (Bug#6083).
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/international/mule.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a7df32a3463..fce9334afcb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-05-03 Chong Yidong <cyd@stupidchicken.com>
2
3 * international/mule.el (auto-coding-alist): Only purecopy
4 car or each item, not the whole list (Bug#6083).
5
12010-05-02 Chong Yidong <cyd@stupidchicken.com> 62010-05-02 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * progmodes/js.el (js-mode): Make paragraph variables local before 8 * progmodes/js.el (js-mode): Make paragraph variables local before
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 8d2f6dede15..7e7e55728c8 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -1625,7 +1625,8 @@ and convert it in the temporary buffer. Otherwise, convert in-place."
1625(defcustom auto-coding-alist 1625(defcustom auto-coding-alist
1626 ;; .exe and .EXE are added to support archive-mode looking at DOS 1626 ;; .exe and .EXE are added to support archive-mode looking at DOS
1627 ;; self-extracting exe archives. 1627 ;; self-extracting exe archives.
1628 (purecopy '(("\\.\\(\ 1628 (mapcar (lambda (arg) (cons (purecopy (car arg)) (cdr arg)))
1629 '(("\\.\\(\
1629arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|\ 1630arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|\
1630ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" 1631ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'"
1631 . no-conversion-multibyte) 1632 . no-conversion-multibyte)