changeset 11586:fba74d054979

(edt-advance, edt-backup): Use force-mode-line-update.
author Karl Heuer <kwzh@gnu.org>
date Tue, 25 Apr 1995 22:31:12 +0000
parents e28ae3856c1d
children cf1d828dbb57
files lisp/emulation/edt.el
diffstat 1 files changed, 2 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/edt.el	Tue Apr 25 22:30:38 1995 +0000
+++ b/lisp/emulation/edt.el	Tue Apr 25 22:31:12 1995 +0000
@@ -656,7 +656,7 @@
 Also, execute command specified if in Minibuffer."
   (interactive)
   (setq edt-direction-string edt-forward-string)
-  (edt-update-mode-line)
+  (force-mode-line-update)
   (if (string-equal " *Minibuf" 
                     (substring (buffer-name) 0 (min (length (buffer-name)) 9)))
       (exit-minibuffer)))
@@ -670,7 +670,7 @@
 Also, execute command specified if in Minibuffer."
   (interactive)
   (setq edt-direction-string edt-backward-string)
-  (edt-update-mode-line)
+  (force-mode-line-update)
   (if (string-equal " *Minibuf" 
                     (substring (buffer-name) 0 (min (length (buffer-name)) 9)))
       (exit-minibuffer)))
@@ -1253,15 +1253,6 @@
   (other-window 1))
 
 ;;;
-;;; UPDATE MODE LINE
-;;;
-
-(defun edt-update-mode-line ()
-  "Make sure mode-line in the current buffer reflects all changes."
-  (set-buffer-modified-p (buffer-modified-p))
-  (sit-for 0))
-
-;;;
 ;;; COPY RECTANGLE
 ;;;