From: Gerd Moellmann Date: Fri, 23 Jun 2000 04:54:09 +0000 (+0000) Subject: (eshell-mode): Use eshell-copy-list instead X-Git-Tag: emacs-pretest-21.0.90~3126 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c28e00b63ba1f6df4c526631f9334cf94abf09e;p=emacs.git (eshell-mode): Use eshell-copy-list instead of copy-list. --- 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))