diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-04-25 22:23:31 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-04-25 22:23:31 +0000 |
commit | 390d1087a16fd7a51f8f951c764695cefb832b60 (patch) | |
tree | af8c2822f9db54cfce5cc30cd4951187ec81ffa9 /lisp/xscheme.el | |
parent | ec165e569d2d48f93b08c8436407708f05730d8a (diff) | |
download | emacs-390d1087a16fd7a51f8f951c764695cefb832b60.tar.gz |
(xscheme-set-runlight, xscheme-set-prompt): Use force-mode-line-update.
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) |