Mercurial > emacs
changeset 45735:642c25258945
(eshell-mode, eshell-mode): Use copy-sequence.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 10 Jun 2002 08:32:57 +0000 |
parents | 72f226ee8247 |
children | fa968fe464d3 |
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 Mon Jun 10 08:32:45 2002 +0000 +++ b/lisp/eshell/esh-mode.el Mon Jun 10 08:32:57 2002 +0000 @@ -305,7 +305,7 @@ (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 @@ (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))