Function: eshell-refresh-windows
eshell-refresh-windows is a byte-compiled function defined in
em-smart.el.gz.
Signature
(eshell-refresh-windows &optional FRAME)
Documentation
Refresh all visible Eshell buffers.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-smart.el.gz
(defun eshell-refresh-windows (&optional frame)
"Refresh all visible Eshell buffers."
(let (affected)
(walk-windows
(lambda (wind)
(with-current-buffer (window-buffer wind)
(if eshell-mode
(let (window-scroll-functions) ;;FIXME: Why?
(eshell-smart-scroll-window wind (window-start))
(setq affected t)))))
0 frame)
(if affected
(let (window-scroll-functions) ;;FIXME: Why?
(eshell-redisplay)))))