Synch to No Gnus 200602231319.
authoryamaoka <yamaoka>
Thu, 23 Feb 2006 13:19:35 +0000 (13:19 +0000)
committeryamaoka <yamaoka>
Thu, 23 Feb 2006 13:19:35 +0000 (13:19 +0000)
lisp/ChangeLog
lisp/gmm-utils.el

index 7565fad..8397857 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-23  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gmm-utils.el (gmm-image-load-path): Don't modify image-load-path
+       and load-path.
+
 2006-02-22  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * message.el: Autoload gmm-image-load-path.
index 2d680cd..7384bb9 100644 (file)
@@ -316,12 +316,14 @@ path to IMAGE.  If PATH is given, it is used instead of
   ;; Return augmented `image-load-path' or `load-path'.
   (cond ((and path (symbolp path))
         (nconc (list gmm-image-load-path)
-               (delete gmm-image-load-path (if (boundp path)
-                                               (symbol-value path)
-                                             nil))))
+               (delete gmm-image-load-path
+                       (if (boundp path)
+                           (copy-sequence (symbol-value path))
+                         nil))))
        (t
         (nconc (list gmm-image-load-path)
-               (delete gmm-image-load-path load-path)))))
+               (delete gmm-image-load-path
+                       (copy-sequence load-path))))))
 
 (provide 'gmm-utils)