# HG changeset patch # User Karl Heuer # Date 798848611 0 # Node ID 61cdc55737fb37251c69a76155738bcef646678f # Parent 26d4ff74d4ab2e5b2bd12918a3a91b4c76574058 (xscheme-set-runlight, xscheme-set-prompt): Use force-mode-line-update. diff -r 26d4ff74d4ab -r 61cdc55737fb lisp/xscheme.el --- a/lisp/xscheme.el Tue Apr 25 22:23:02 1995 +0000 +++ b/lisp/xscheme.el Tue Apr 25 22:23:31 1995 +0000 @@ -674,12 +674,7 @@ (defun xscheme-set-runlight (runlight) (setq xscheme-runlight-string runlight) - (xscheme-modeline-redisplay)) - -(defun xscheme-modeline-redisplay () - (save-excursion (set-buffer (other-buffer))) - (set-buffer-modified-p (buffer-modified-p)) - (sit-for 0)) + (force-mode-line-update t)) ;;;; Process Filter Operations @@ -811,7 +806,7 @@ (setq xscheme-prompt string) (xscheme-guarantee-newlines 2) (setq xscheme-mode-string (xscheme-coerce-prompt string)) - (xscheme-modeline-redisplay)) + (force-mode-line-update t)) (defun xscheme-output-goto () (xscheme-goto-output-point)