summaryrefslogtreecommitdiff
path: root/lisp/eshell
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-06-23 04:54:09 +0000
committerGerd Moellmann <gerd@gnu.org>2000-06-23 04:54:09 +0000
commit4c28e00b63ba1f6df4c526631f9334cf94abf09e (patch)
tree4130deba86cbabc2f12d9a1f219739f07d45b658 /lisp/eshell
parent047c1280be6adaaaa40528cf4070e5a76373ce3a (diff)
downloademacs-4c28e00b63ba1f6df4c526631f9334cf94abf09e.tar.gz
(eshell-mode): Use eshell-copy-list instead
of copy-list.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index 6df4602f9f6..b0a0de58cf1 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -305,7 +305,7 @@ sessions, such as when using `eshell-command'.")
(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 @@ sessions, such as when using `eshell-command'.")
(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))