changeset 29872:b95f1796ee1a

(eshell-mode): Use eshell-copy-list instead of copy-list.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 23 Jun 2000 04:54:09 +0000
parents 903015affdf0
children b0bbf97625c2
files lisp/eshell/esh-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/esh-mode.el	Fri Jun 23 04:53:48 2000 +0000
+++ b/lisp/eshell/esh-mode.el	Fri Jun 23 04:54:09 2000 +0000
@@ -305,7 +305,7 @@
 
   (when eshell-status-in-modeline
     (make-local-variable 'eshell-command-running-string)
-    (let ((fmt (copy-list mode-line-format)))
+    (let ((fmt (eshell-copy-list mode-line-format)))
       (make-local-variable 'mode-line-format)
       (setq mode-line-format fmt))
     (let ((modeline (memq 'mode-line-modified mode-line-format)))
@@ -373,7 +373,7 @@
   (set (make-local-variable 'eshell-last-output-end) (point-marker))
   (set (make-local-variable 'eshell-last-output-block-begin) (point))
 
-  (let ((modules-list (copy-list eshell-modules-list)))
+  (let ((modules-list (eshell-copy-list eshell-modules-list)))
     (make-local-variable 'eshell-modules-list)
     (setq eshell-modules-list modules-list))