# HG changeset patch # User Chong Yidong # Date 1272851701 14400 # Node ID f51f0593c8409692f2a70f1359d4ef4b8002fea6 # Parent 243bfb706af1762f96d2a084ab5f520efa3cbb45 Variable purecopying fix (Bug#6083). * international/mule.el (auto-coding-alist): Only purecopy car or each item, not the whole list (Bug#6083). diff -r 243bfb706af1 -r f51f0593c840 lisp/ChangeLog --- a/lisp/ChangeLog Sun May 02 21:42:50 2010 -0400 +++ b/lisp/ChangeLog Sun May 02 21:55:01 2010 -0400 @@ -1,3 +1,8 @@ +2010-05-03 Chong Yidong + + * international/mule.el (auto-coding-alist): Only purecopy + car or each item, not the whole list (Bug#6083). + 2010-05-02 Chong Yidong * progmodes/js.el (js-mode): Make paragraph variables local before diff -r 243bfb706af1 -r f51f0593c840 lisp/international/mule.el --- a/lisp/international/mule.el Sun May 02 21:42:50 2010 -0400 +++ b/lisp/international/mule.el Sun May 02 21:55:01 2010 -0400 @@ -1625,7 +1625,8 @@ (defcustom auto-coding-alist ;; .exe and .EXE are added to support archive-mode looking at DOS ;; self-extracting exe archives. - (purecopy '(("\\.\\(\ + (mapcar (lambda (arg) (cons (purecopy (car arg)) (cdr arg))) + '(("\\.\\(\ arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|\ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . no-conversion-multibyte)