mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-06 11:55:48 +00:00
(eshell-mode): Use eshell-copy-list instead
of copy-list.
This commit is contained in:
parent
047c1280be
commit
4c28e00b63
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user