changeset 105970:f6c1ac558c84

(auto-coding-regexp-alist): Only purecopy car or each item, not the whole list.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 13 Nov 2009 02:40:40 +0000
parents 6a8befbb8e39
children 6b2352662a3f
files lisp/ChangeLog lisp/international/mule.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Nov 12 23:10:01 2009 +0000
+++ b/lisp/ChangeLog	Fri Nov 13 02:40:40 2009 +0000
@@ -1,3 +1,8 @@
+2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* international/mule.el (auto-coding-regexp-alist): Only purecopy
+	car or each item, not the whole list.
+
 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* minibuffer.el (minibuffer-completion-help):
--- a/lisp/international/mule.el	Thu Nov 12 23:10:01 2009 +0000
+++ b/lisp/international/mule.el	Fri Nov 13 02:40:40 2009 +0000
@@ -1648,7 +1648,7 @@
 		       (symbol :tag "Coding system"))))
 
 (defcustom auto-coding-regexp-alist
-  (purecopy
+  (mapcar (lambda (arg) (cons (purecopy (car arg)) (cdr arg)))
   '(("\\`BABYL OPTIONS:[ \t]*-\\*-[ \t]*rmail[ \t]*-\\*-" . no-conversion)
     ("\\`\xFE\xFF" . utf-16be-with-signature)
     ("\\`\xFF\xFE" . utf-16le-with-signature)