]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-mode, eshell-mode): Use copy-sequence.
authorRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 2002 08:32:57 +0000 (08:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 2002 08:32:57 +0000 (08:32 +0000)
lisp/eshell/esh-mode.el

index 4e031b0e0b88c98765d6640a1e5c1f1f29c83f9b..d4df95ea0f7aa2a685f58621282ce8575ad9dd1c 100644 (file)
@@ -305,7 +305,7 @@ This is used by `eshell-watch-for-password-prompt'."
 
   (when eshell-status-in-modeline
     (make-local-variable 'eshell-command-running-string)
-    (let ((fmt (eshell-copy-list mode-line-format)))
+    (let ((fmt (copy-sequence mode-line-format)))
       (make-local-variable 'mode-line-format)
       (setq mode-line-format fmt))
     (let ((modeline (memq 'mode-line-modified mode-line-format)))
@@ -382,7 +382,7 @@ This is used by `eshell-watch-for-password-prompt'."
   (set (make-local-variable 'eshell-last-output-end) (point-marker))
   (set (make-local-variable 'eshell-last-output-block-begin) (point))
 
-  (let ((modules-list (eshell-copy-list eshell-modules-list)))
+  (let ((modules-list (copy-sequence eshell-modules-list)))
     (make-local-variable 'eshell-modules-list)
     (setq eshell-modules-list modules-list))