emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99793: Variable purecopying fix (


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99793: Variable purecopying fix (Bug#6083).
Date: Sun, 02 May 2010 21:55:01 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99793
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Sun 2010-05-02 21:55:01 -0400
message:
  Variable purecopying fix (Bug#6083).
  
  * international/mule.el (auto-coding-alist):  Only purecopy
  car or each item, not the whole list (Bug#6083).
modified:
  lisp/ChangeLog
  lisp/international/mule.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-05-02 15:15:29 +0000
+++ b/lisp/ChangeLog    2010-05-03 01:55:01 +0000
@@ -1,3 +1,8 @@
+2010-05-03  Chong Yidong  <address@hidden>
+
+       * international/mule.el (auto-coding-alist):  Only purecopy
+       car or each item, not the whole list (Bug#6083).
+
 2010-05-02  Chong Yidong  <address@hidden>
 
        * progmodes/js.el (js-mode): Make paragraph variables local before

=== modified file 'lisp/international/mule.el'
--- a/lisp/international/mule.el        2010-01-13 08:35:10 +0000
+++ b/lisp/international/mule.el        2010-05-03 01:55:01 +0000
@@ -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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]