diff options
Diffstat (limited to 'lisp/xscheme.el')
-rw-r--r-- | lisp/xscheme.el | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lisp/xscheme.el b/lisp/xscheme.el index 674b2443a1f..c09f53a89e2 100644 --- a/lisp/xscheme.el +++ b/lisp/xscheme.el @@ -674,12 +674,7 @@ When called, the current buffer will be the Scheme process-buffer.") (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 @@ the remaining input.") (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) |