]> git.eshelyaron.com Git - emacs.git/commitdiff
Variable purecopying fix (Bug#6083).
authorChong Yidong <cyd@stupidchicken.com>
Mon, 3 May 2010 01:55:01 +0000 (21:55 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 3 May 2010 01:55:01 +0000 (21:55 -0400)
* international/mule.el (auto-coding-alist):  Only purecopy
car or each item, not the whole list (Bug#6083).

lisp/ChangeLog
lisp/international/mule.el

index a7df32a34638ca046698fa26ba6953a9afd5da07..fce9334afcb235e785f92ac2f34f99323f1aed49 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * international/mule.el (auto-coding-alist):  Only purecopy
+       car or each item, not the whole list (Bug#6083).
+
 2010-05-02  Chong Yidong  <cyd@stupidchicken.com>
 
        * progmodes/js.el (js-mode): Make paragraph variables local before
index 8d2f6dede1549115eafecc870d163ed4bf231b08..7e7e55728c8d91f912508898e0c7567bf4e7d076 100644 (file)
@@ -1625,7 +1625,8 @@ and convert it in the temporary buffer.  Otherwise, convert in-place."
 (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)